/* =========================================================
   GetTempCover How It Works Page
   Page-only CSS. Shared header/footer are in styles.css.
========================================================= */

:root{
  --ink:#101828;
  --muted:#667085;
  --line:#e5e7eb;
  --green:#00e676;
  --green-bright:#b9ff66;
  --green-dark:#00a85a;
  --green-deep:#031b10;
  --green-soft:#f6ffe8;
  --green-line:#b8f7d1;
  --bg:#fbfffd;
  --card:#fff;
  --shadow:0 24px 75px rgba(16,24,40,.10);
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html,
body{
  max-width:100%;
  overflow-x:hidden;
}

img,
svg,
video,
iframe{
  max-width:100%;
  height:auto;
  display:block;
}

body.how-page{
  background:
    radial-gradient(circle at 8% 4%,rgba(185,255,102,.18),transparent 26%),
    radial-gradient(circle at 88% 8%,rgba(0,230,118,.10),transparent 30%),
    linear-gradient(180deg,#fff 0%,#fbfffd 44%,#f6fff9 100%);
  color:#101828;
}

.how-shell{
  overflow:hidden;
  min-width:0;
  max-width:100%;
}

.how-hero{
  position:relative;
  overflow:hidden;
  border-bottom:1px solid #d7ffe5;
  background:
    radial-gradient(circle at 82% 18%,rgba(185,255,102,.42),transparent 28%),
    radial-gradient(circle at 16% 18%,rgba(0,230,118,.16),transparent 28%),
    linear-gradient(180deg,#fff 0%,#fbfffd 54%,#f6fff9 100%);
}

.how-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(0,168,90,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(0,168,90,.045) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:radial-gradient(circle at center,#000,transparent 74%);
  pointer-events:none;
}

.how-hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:38px;
  align-items:center;
  padding:68px 0 82px;
  min-width:0;
  max-width:100%;
}

.breadcrumb{
  display:flex;
  align-items:center;
  gap:9px;
  color:#667085;
  font-weight:850;
  font-size:14px;
  margin-bottom:18px;
  min-width:0;
  flex-wrap:wrap;
}

.breadcrumb a{color:#00a85a}
.breadcrumb i{font-size:10px;color:#98a2b3}

.how-badge,
.section-kicker{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:10px 14px;
  border-radius:999px;
  background:#f6ffe8;
  border:1px solid #d7ffe5;
  color:#00a85a;
  font-weight:950;
}

.how-badge{margin-bottom:18px}

.section-kicker{
  padding:7px 11px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  margin-bottom:14px;
}

.how-hero h1{
  margin:0 0 18px;
  font-size:clamp(42px,6vw,76px);
  line-height:.96;
  letter-spacing:-.078em;
  color:#101828;
  max-width:820px;
  overflow-wrap:anywhere;
}

.how-hero p{
  color:#667085;
  font-size:18px;
  max-width:760px;
  margin:0;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
  min-width:0;
}

.primary-action,
.secondary-action{
  min-height:54px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:0 20px;
  border-radius:999px;
  font-weight:1000;
}

.primary-action{
  background:linear-gradient(135deg,#b9ff66,#00e676);
  color:#031b10;
  box-shadow:0 18px 45px rgba(185,255,102,.28);
}

.secondary-action{
  background:#fff;
  color:#101828;
  border:1px solid #d7ffe5;
}

.hero-card{
  background:#fff;
  border:1px solid #d7ffe5;
  border-radius:32px;
  padding:28px;
  box-shadow:0 24px 75px rgba(16,24,40,.10);
  min-width:0;
  max-width:100%;
}

.hero-card-icon{
  width:68px;
  height:68px;
  border-radius:22px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#b9ff66,#00e676);
  color:#031b10;
  font-size:28px;
  margin-bottom:18px;
}

.hero-card h2{
  margin:0 0 10px;
  font-size:30px;
  line-height:1;
  letter-spacing:-.055em;
}

.hero-card p{font-size:15px}

.hero-points{
  display:grid;
  gap:10px;
  margin-top:20px;
}

.hero-points span{
  display:flex;
  align-items:center;
  gap:10px;
  color:#344054;
  font-weight:850;
  min-width:0;
}

.hero-points i{color:#00a85a}

.quick-nav{
  position:relative;
  z-index:3;
  margin-top:-28px;
  background:#fff;
  border:1px solid #d7ffe5;
  border-radius:28px;
  padding:16px;
  box-shadow:0 18px 55px rgba(16,24,40,.075);
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  min-width:0;
  max-width:100%;
}

.quick-nav a{
  padding:10px 13px;
  border-radius:999px;
  background:#fbfffd;
  border:1px solid #e5e7eb;
  color:#344054;
  font-weight:900;
  font-size:14px;
}

.quick-nav a:hover{
  border-color:#b8f7d1;
  color:#00a85a;
}

.how-layout{
  display:grid;
  grid-template-columns:300px minmax(0,1fr);
  gap:30px;
  align-items:start;
  padding:42px 0 88px;
  min-width:0;
  max-width:100%;
}

.guide-sidebar{
  position:sticky;
  top:112px;
  min-width:0;
  max-width:100%;
}

.sidebar-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:28px;
  padding:22px;
  box-shadow:0 18px 55px rgba(16,24,40,.06);
  min-width:0;
  max-width:100%;
}

.sidebar-card h2{
  margin:0 0 14px;
  font-size:22px;
  letter-spacing:-.04em;
}

.sidebar-card a{
  display:block;
  padding:10px 0;
  color:#667085;
  border-bottom:1px solid #eef2f7;
  font-weight:850;
}

.sidebar-card a:last-child{border-bottom:0}
.sidebar-card a:hover{color:#00a85a}

.guide-content{
  display:grid;
  gap:24px;
  min-width:0;
  max-width:100%;
}

.content-section,
.final-cta{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:32px;
  padding:34px;
  box-shadow:0 18px 55px rgba(16,24,40,.06);
  scroll-margin-top:120px;
  min-width:0;
  max-width:100%;
}

.content-section h2,
.final-cta h2{
  margin:0 0 16px;
  font-size:clamp(30px,4vw,48px);
  line-height:1;
  letter-spacing:-.065em;
  overflow-wrap:anywhere;
}

.content-section h3{
  margin:24px 0 10px;
  font-size:24px;
  line-height:1.1;
  letter-spacing:-.045em;
  overflow-wrap:anywhere;
}

.content-section p,
.content-section li,
.final-cta p{
  color:#667085;
  font-size:16px;
  line-height:1.75;
}

.content-section p{margin:0 0 16px}

.highlight-box,
.warning-box,
.checklist-card{
  border-radius:24px;
  padding:22px;
  margin:22px 0;
  min-width:0;
  max-width:100%;
}

.highlight-box{
  background:#f6ffe8;
  border:1px solid #d7ffe5;
}

.warning-box{
  background:#fff7ed;
  border:1px solid #fed7aa;
}

.highlight-box h3,
.warning-box h3,
.checklist-card h3{margin-top:0}

.number-list,
.bullet-list{padding-left:22px}
.number-list li,
.bullet-list li{margin:10px 0}

.info-grid,
.factor-grid,
.document-list,
.use-case-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:22px 0;
  min-width:0;
  max-width:100%;
}

.info-grid div,
.factor-grid div,
.document-list div,
.use-case-grid div{
  background:#fbfffd;
  border:1px solid #e5e7eb;
  border-radius:22px;
  padding:20px;
  min-width:0;
  max-width:100%;
}

.info-grid i,
.document-list i,
.use-case-grid i{
  width:48px;
  height:48px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:#f6ffe8;
  color:#00a85a;
  font-size:20px;
  margin-bottom:14px;
}

.info-grid h3,
.document-list h3,
.use-case-grid h3{margin-top:0}

.factor-grid strong{
  display:block;
  font-size:18px;
  margin-bottom:7px;
  color:#101828;
}

.factor-grid span{
  color:#667085;
  line-height:1.65;
}

.comparison-table-wrap{
  overflow-x:auto;
  margin:22px 0;
  max-width:100%;
  -webkit-overflow-scrolling:touch;
}

.comparison-table{
  width:100%;
  max-width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border:1px solid #e5e7eb;
  border-radius:22px;
}

.comparison-table th,
.comparison-table td{
  padding:16px;
  text-align:left;
  vertical-align:top;
  border-bottom:1px solid #eef2f7;
}

.comparison-table th{
  background:#f6ffe8;
  color:#101828;
  font-weight:1000;
}

.comparison-table td{color:#667085}
.comparison-table tr:last-child td{border-bottom:0}

.checklist-card{
  border:1px solid #d7ffe5;
  background:#fbfffd;
}

.check-row{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:11px 0;
  color:#344054;
  font-weight:850;
  border-bottom:1px solid #eef2f7;
  min-width:0;
}

.check-row:last-child{border-bottom:0}
.check-row i{color:#00a85a;margin-top:4px}

.process-steps{
  display:grid;
  gap:14px;
  min-width:0;
  max-width:100%;
}

.process-steps div{
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  gap:16px;
  border:1px solid #e5e7eb;
  background:#fbfffd;
  border-radius:22px;
  padding:18px;
  min-width:0;
  max-width:100%;
}

.process-steps span{
  width:54px;
  height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#b9ff66,#00e676);
  color:#031b10;
  font-weight:1000;
}

.process-steps h3{margin:0 0 8px}

.myth-list{
  display:grid;
  gap:14px;
}

.myth-list div{
  border-left:4px solid #00e676;
  background:#fbfffd;
  border-radius:18px;
  padding:18px;
  min-width:0;
  max-width:100%;
}

.myth-list h3{margin-top:0}

.faq-section details{
  border:1px solid #e5e7eb;
  background:#fbfffd;
  border-radius:18px;
  padding:0;
  margin:10px 0;
  overflow:hidden;
  min-width:0;
  max-width:100%;
}

.faq-section summary{
  cursor:pointer;
  padding:18px;
  font-weight:1000;
  color:#101828;
}

.faq-section details p{padding:0 18px 18px}

.source-links{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:18px;
  min-width:0;
  max-width:100%;
}

.source-links a{
  display:flex;
  align-items:center;
  min-height:52px;
  padding:0 16px;
  border-radius:18px;
  background:#fbfffd;
  border:1px solid #d7ffe5;
  color:#00a85a;
  font-weight:900;
  min-width:0;
  overflow-wrap:anywhere;
}

.final-cta{
  text-align:center;
  background:radial-gradient(circle at 80% 10%,rgba(185,255,102,.26),transparent 32%),#031b10;
  border-color:#063b22;
  color:#fff;
}

.final-cta h2{color:#fff}

.final-cta p{
  color:#d8ffe7;
  max-width:620px;
  margin:0 auto 22px;
}

.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:.5s ease;
}

.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

@media(max-width:1080px){
  .how-hero-grid,
  .how-layout{
    grid-template-columns:1fr;
  }

  .guide-sidebar{position:static}
  .sidebar-card{display:none}
}

@media(max-width:740px){
  .how-hero-grid{
    padding:52px 0 66px;
    gap:24px;
  }

  .how-hero h1{
    font-size:42px;
    letter-spacing:-.055em;
  }

  .how-hero p{
    font-size:16px;
  }

  .hero-actions{
    display:grid;
    width:100%;
  }

  .primary-action,
  .secondary-action{
    width:100%;
    min-width:0;
  }

  .quick-nav{
    margin-top:0;
    width:100%;
    max-width:100%;
    justify-content:flex-start;
    overflow-x:auto;
    overflow-y:hidden;
    flex-wrap:nowrap;
    -webkit-overflow-scrolling:touch;
    padding:12px;
    border-radius:22px;
  }

  .quick-nav a{
    white-space:nowrap;
    flex:0 0 auto;
  }

  .how-layout{
    padding:30px 0 64px;
  }

  .content-section,
  .final-cta,
  .hero-card{
    padding:20px 16px;
    border-radius:24px;
  }

  .content-section h2,
  .final-cta h2{
    font-size:32px;
    letter-spacing:-.045em;
  }

  .content-section h3{
    font-size:22px;
  }

  .highlight-box,
  .warning-box,
  .checklist-card{
    padding:18px 16px;
    border-radius:20px;
  }

  .info-grid,
  .factor-grid,
  .document-list,
  .use-case-grid,
  .source-links{
    grid-template-columns:1fr;
  }

  .process-steps div{
    grid-template-columns:1fr;
  }

  .comparison-table{
    min-width:620px;
  }
}

@media(max-width:420px){
  .how-hero h1{
    font-size:36px;
  }

  .content-section,
  .final-cta,
  .hero-card{
    padding:18px 14px;
  }

  .content-section h2,
  .final-cta h2{
    font-size:29px;
  }
}
