/* Design refresh, loaded after styles.css.
   Full-width section bands with wavy edges, the "How it works" list,
   and the sage Play Store band. */

body{overflow-x:clip}

/* Keep navigation visible, with room above anchored sections. */
html{scroll-padding-top:98px}
.welcome-shell .welcome-top{position:sticky;top:0;z-index:20;background:var(--paper)}
.welcome-top::before{
  content:"";position:absolute;z-index:-1;top:0;bottom:0;left:50%;width:100vw;
  transform:translateX(-50%);background:var(--paper);pointer-events:none;
}
@media(max-width:820px){html{scroll-padding-top:88px}}
@media(max-width:560px){
  html{scroll-padding-top:94px}
  .hero-actions{margin-top:20px}
}
@media(max-width:380px){
  .hero-actions .hero-cta{align-self:flex-start;width:auto}
}

/* Section bands */
.welcome-shell .why-section,
.welcome-shell .steps-section,
.welcome-shell .download-section,
.welcome-shell .faq-section{position:relative;z-index:0;margin:0}
.welcome-shell .why-section::before,
.welcome-shell .steps-section::before,
.welcome-shell .download-section::before,
.welcome-shell .faq-section::before{
  content:"";position:absolute;z-index:-1;top:-27px;bottom:0;left:50%;width:100vw;transform:translateX(-50%);
  background:var(--paper);
  -webkit-mask:url(/assets/wave.svg) top/100% 28px no-repeat,linear-gradient(#000,#000) bottom/100% calc(100% - 27px) no-repeat;
  mask:url(/assets/wave.svg) top/100% 28px no-repeat,linear-gradient(#000,#000) bottom/100% calc(100% - 27px) no-repeat;
}
.welcome-shell .steps-section::before{background:#e9e2d5}
.welcome-shell .download-section::before{background:var(--green)}

.welcome-shell .hero-grid{padding-bottom:100px}
.welcome-shell .why-section,
.welcome-shell .steps-section{padding:72px 0 96px}
.welcome-shell .faq-section{padding:72px 0 40px}

/* Section headings share the same left edge and spacing. */
.why-section .section-heading,
.steps-section .section-heading{max-width:none;margin:0 0 30px;text-align:left}

/* Sand illustration panels separate the artwork from the ivory text area. */
.benefit-card{background:#fcfbf8}
.benefit-card img.benefit-art{background:#e9e1d4}

/* How it works: plain list with one icon per step */
.why-section .section-heading .eyebrow,
.steps-section .section-heading .eyebrow{justify-content:flex-start}
.step-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 44px}
.step-row{padding:26px 0 0;border-top:1px solid #d9d1c3}
.step-icon{display:block;margin-bottom:18px}
.step-icon svg{display:block;width:40px;height:40px;fill:none;stroke:var(--green);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.step-row h3{font-family:var(--font-family);font-size:20px;font-weight:var(--weight-title);line-height:1.3;letter-spacing:-.02em;color:var(--ink);margin:0 0 6px}
.step-row p{font-size:16px;line-height:1.55;color:var(--ink-soft);margin:0}

/* Keep each desktop icon and heading on the same line. */
@media(min-width:761px){
  .step-row{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:12px;row-gap:12px;align-items:center;align-content:start}
  .step-row>div{display:contents}
  .step-icon,.step-row h3{margin:0}
  .step-row p{grid-column:1/-1}
}
@media(min-width:761px) and (max-width:1279px){
  .step-list{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:32px}
}

/* Download: sage band with the app mark and one Play Store button */
.welcome-shell .download-section{display:block;padding:84px 0 100px;border:0;border-radius:0;background:transparent;text-align:center}
.download-section .eyebrow{justify-content:center;color:#e2e8d8;font-size:12px;letter-spacing:.14em}
.download-section .eyebrow-line{background:#e2e8d8}
.download-section h2{font-family:var(--font-family);font-size:clamp(36px,4.2vw,54px);font-weight:var(--weight-display);line-height:1.08;letter-spacing:-.035em;color:var(--paper);margin:17px 0 16px}
.download-lede{max-width:520px;margin:0 auto;color:#e2e8d8;font-size:19px;line-height:1.6}
.download-section .download-app-icon{width:88px;height:88px;margin:40px auto 0;border-radius:20px;box-shadow:0 0 0 1px rgba(252,251,248,.45)}
.download-section .download-app-name{margin:12px 0 0;font-size:24px;line-height:1.2;color:var(--paper)}
.download-section .brand-period{color:#dcf478}
.download-section .download-card-caption{margin:2px 0 28px;color:#e2e8d8;font-size:15px}
.download-section .download-cta{display:inline-flex;align-items:center;justify-content:center;min-height:54px;margin:0;padding:14px 30px;border-radius:10px;background:var(--paper);color:var(--green-pressed);font-size:16px;line-height:1.3;text-decoration:none;box-shadow:none}
.download-section .download-cta:hover{background:#fff}
.download-section .download-cta:focus-visible{outline:3px solid var(--paper);outline-offset:3px}

@media(max-width:760px){
  .step-list{grid-template-columns:1fr}
  .step-row{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:start;padding:22px 0}
  .step-row:last-child{border-bottom:1px solid #d9d1c3}
  .step-icon{margin:2px 0 0}
  .step-icon svg{width:34px;height:34px}
  .step-row h3{font-size:19px}
}
@media(max-width:660px){
  .why-section .section-heading,.steps-section .section-heading{margin-bottom:22px}
  .welcome-shell .hero-grid{padding-bottom:64px}
  .welcome-shell .why-section,
  .welcome-shell .steps-section{padding:48px 0 68px}
  .welcome-shell .faq-section{padding:48px 0 28px}
  .welcome-shell .download-section{padding:56px 0 76px}
  .download-section .eyebrow{font-size:10px}
  .download-section h2{font-size:38px}
  .download-lede{font-size:17px}
  .download-section .download-cta{width:100%;max-width:420px;box-sizing:border-box}
}

/* Laptop and desktop: larger type. Phone and tablet are untouched. */
@media(min-width:1024px){
  .landing-nav>a:not(.button){font-size:16px}
  .landing-nav .nav-download{font-size:15px}
  .hero-kicker{font-size:22px}
  .hero-copy h1{font-size:clamp(64px,5vw,76px)}
  .hero-copy .welcome-lede{font-size:21px;max-width:560px}
  .hero-actions .hero-cta,.hero-actions .hero-secondary{min-height:58px;padding:16px 26px;font-size:17px}
  .section-heading h2,.why-heading h2,.download-section h2{font-size:clamp(54px,4.4vw,64px)}
  .faq-section .section-heading h2{font-size:50px}
  .section-heading p{font-size:20px}
  .benefit-card h3{font-size:21px}
  .benefit-card p{font-size:17px}
  .step-row h3{font-size:24px}
  .step-row p{font-size:18px}
  .download-lede{font-size:21px;max-width:580px}
  .download-section .download-card-caption{font-size:17px}
  .download-section .download-cta{font-size:18px}
  .faq-list{max-width:880px}
  .faq-list summary{font-size:20px}
  .faq-list details p{font-size:18px;max-width:760px}
}

/* Footer: brand at the left edge, secondary links grouped at the right. */
.welcome-footer{justify-content:space-between;gap:12px 32px;padding:16px 0;letter-spacing:normal}
.welcome-footer .footer-brand{color:var(--green);font-size:1rem;font-weight:var(--weight-emphasis);letter-spacing:.06em;white-space:nowrap}
.welcome-footer .policy-links{align-items:center;justify-content:flex-end;gap:4px 24px}
.welcome-footer .policy-links a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink-soft);font-size:.875rem;font-weight:var(--weight-body);letter-spacing:normal;text-decoration:none;white-space:nowrap}
.welcome-footer .policy-links a:hover,.welcome-footer .policy-links a:focus-visible{color:var(--green);text-decoration:underline;text-underline-offset:4px}
.welcome-footer .policy-links a:focus-visible{outline:2px solid var(--green);outline-offset:4px;border-radius:2px}
@media(max-width:560px){
  .welcome-footer{align-items:flex-start;flex-direction:column;gap:4px;padding:20px 0 12px}
  .welcome-footer .policy-links{justify-content:flex-start;gap:4px 20px}
}
