/* Shared styles for the inner pages (How it works, Privacy, Terms). Header and footer match the home page. */
@font-face{font-family:"Louis George Cafe";src:url("fonts/louis-george-cafe-regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Louis George Cafe";src:url("fonts/louis-george-cafe-bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Louis George Cafe";src:url("fonts/louis-george-cafe-italic.ttf") format("truetype");font-weight:400;font-style:italic;font-display:swap}

:root{
  --ink:#1b1c18; --ink-2:#5f6058; --ink-3:#9a9b92; --line:#e3e5da;
  --page:#ffffff; --tint:#eef0e6;
  --olive:#6c7a43; --olive-d:#58653a; --olive-tint:#edf0e3;
  --f:"Louis George Cafe",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--page);color:var(--ink);font-family:var(--f);font-size:17px;line-height:1.5;-webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column}
a{color:inherit;text-decoration:none}
:focus-visible{outline:2.5px solid var(--olive);outline-offset:3px;border-radius:8px}

/* header (same as home) */
.nav{display:flex;align-items:center;gap:28px;width:100%;max-width:1440px;margin:0 auto;padding:14px 24px}
.logo{display:flex;align-items:center}
.logo .wordmark{display:block;height:60px;width:auto}
.links{display:flex;gap:26px;margin-left:44px;font-size:16px}
.links a,.util a{padding:6px 0;transition:color .2s}
.links a:hover,.util a:hover,.links a[aria-current]{color:var(--olive)}
.util{display:flex;align-items:center;gap:36px;margin-left:auto;font-size:16px}
.pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-weight:700;white-space:nowrap;transition:background .2s,transform .2s}
.pill:active{transform:scale(.97)}
.pill.olive{background:var(--olive);color:#fff;padding:14px 26px;font-size:16px}
.pill.olive:hover{background:var(--olive-d)}

/* page body */
.legal{flex:1;width:100%;max-width:760px;margin:0 auto;padding:56px 24px 96px}
.legal .eyebrow{margin:0 0 10px;color:var(--olive);font-size:15px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.legal h1{margin:0;font-size:clamp(38px,5vw,56px);line-height:1.05;letter-spacing:-.02em;font-weight:700}
.legal .updated{margin:16px 0 0;color:var(--ink-2);font-size:15.5px}
.legal .body{margin-top:40px;padding-top:36px;border-top:1px solid var(--line)}
.legal h2{margin:44px 0 12px;font-size:24px;line-height:1.2;letter-spacing:-.01em;font-weight:700}
.legal h2:first-child{margin-top:0}
.legal h3{margin:28px 0 8px;font-size:19px;font-weight:700}
.legal p,.legal li{color:#33352d}
.legal p{margin:0 0 16px}
.legal ul,.legal ol{margin:0 0 16px;padding-left:22px}
.legal li{margin-bottom:8px}
.legal .body a{color:var(--olive-d);text-decoration:underline;text-underline-offset:3px}
.legal .body li strong{color:var(--ink)}
.legal .contact{line-height:1.7}
.legal .sign-off{margin-top:24px;font-size:20px;font-weight:700;color:var(--olive-d)}
.legal h2{scroll-margin-top:24px}
.legal .placeholder{margin:0;padding:28px;border-radius:20px;background:var(--tint);color:var(--ink-2);text-align:center}

/* footer (same as home) */
footer{width:100%;max-width:1340px;margin:0 auto;padding:30px 24px 40px;display:flex;flex-wrap:wrap;gap:16px 28px;align-items:center;color:var(--ink-3);font-size:14.5px;border-top:1px solid var(--line)}
footer .logo .wordmark{height:32px}
footer nav{display:flex;gap:22px;margin-left:auto}
footer a:hover,footer a[aria-current]{color:var(--ink)}

@media (max-width:760px){.links{display:none}}
@media (max-width:640px){
  .nav{gap:14px;padding:12px 16px}
  .util{gap:18px}
  .util .help{display:none}
  .pill.olive{padding:11px 18px;font-size:15px}
  .logo .wordmark{height:48px}
  .legal{padding:36px 16px 72px}
  .legal .body{margin-top:32px;padding-top:28px}
  footer{padding-left:16px;padding-right:16px}
  footer nav{margin-left:0}
}

/* How it works page: the "How Porely learns your skin" section, moved from the home page */
.how{flex:1;width:100%;max-width:1100px;margin:0 auto;padding:72px 24px 110px;text-align:center}
.how .eyebrow{margin:0 auto 10px;color:var(--olive);font-size:15px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.how h1{font-size:clamp(36px,4.4vw,56px);line-height:1.08;letter-spacing:-.02em;margin:0;font-weight:700}
.how>p{margin:14px auto 0;color:var(--ink-2);max-width:52ch}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;list-style:none;padding:0;margin:56px 0 0;counter-reset:s;text-align:left}
.steps li{counter-increment:s;border-top:1.5px solid var(--line);padding-top:22px}
.steps li::before{content:counter(s);display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--olive-tint);color:#5d6a37;font-weight:700;margin-bottom:16px}
.steps h3{margin:0 0 6px;font-size:21px}
.steps p{margin:0;color:var(--ink-2);max-width:34ch}
@media (max-width:980px){.steps{grid-template-columns:1fr;gap:28px}}
@media (max-width:640px){.how{padding:40px 16px 72px}}

/* Support page: FAQ accordion and feedback form */
.support{flex:1;width:100%;max-width:820px;margin:0 auto;padding:72px 24px 110px}
.support .intro{text-align:center}
.support .eyebrow{margin:0 0 10px;color:var(--olive);font-size:15px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.support h1{margin:0;font-size:clamp(36px,4.4vw,56px);line-height:1.08;letter-spacing:-.02em;font-weight:700}
.support .intro>p:last-child{margin:14px auto 0;color:var(--ink-2);max-width:46ch}
.support h2{margin:0;font-size:clamp(26px,2.6vw,32px);line-height:1.15;letter-spacing:-.015em;font-weight:700}
.faq{margin-top:64px}
.faq-list{margin-top:22px;border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 2px;font-size:19px;font-weight:700;cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;width:30px;height:30px;border-radius:50%;background:var(--olive-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6a37' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat;transition:transform .2s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq summary:hover{color:var(--olive-d)}
.faq .ans{padding:0 46px 22px 2px;color:#33352d}
.faq .ans p{margin:0 0 12px}
.faq .ans p:last-child{margin-bottom:0}
.faq .ans .note{font-size:15px;color:var(--ink-2)}
.feedback{margin-top:72px;background:var(--tint);border-radius:30px;padding:40px 40px 44px}
.feedback>p{margin:10px 0 0;color:var(--ink-2)}
.feedback form{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:28px}
.feedback label{display:flex;flex-direction:column;gap:7px;font-size:15px;font-weight:700}
.feedback label em{font-style:normal;font-weight:400;color:var(--ink-3);margin-left:6px}
.feedback .full{grid-column:1/-1}
.feedback input,.feedback select,.feedback textarea{font:inherit;font-size:16px;color:var(--ink);background:#fff;border:1.5px solid var(--line);border-radius:14px;padding:13px 14px;width:100%}
.feedback textarea{min-height:150px;resize:vertical}
.feedback input:focus,.feedback select:focus,.feedback textarea:focus{outline:none;border-color:var(--olive)}
.feedback button{grid-column:1/-1;justify-self:start;font:inherit;font-weight:700;font-size:17px;color:#fff;background:var(--olive);border:0;border-radius:999px;padding:14px 30px;cursor:pointer;transition:background .2s}
.feedback button:hover{background:var(--olive-d)}
.feedback .hp{display:none}
.feedback .direct{margin:22px 0 0;font-size:15px;color:var(--ink-2)}
.feedback .direct a{color:var(--olive-d);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.sent{text-align:center}
.sent .pill{margin-top:28px}
@media (max-width:640px){
  .support{padding:40px 16px 72px}
  .faq{margin-top:48px}
  .faq summary{font-size:17px;padding:18px 0}
  .faq .ans{padding-right:0}
  .feedback{margin-top:56px;padding:28px 20px 32px;border-radius:24px}
  .feedback form{grid-template-columns:1fr}
}

/* Waitlist page: a single sign-up card, styled like the feedback form */
.waitlist{max-width:640px}
.waitlist .feedback{margin-top:44px}
.waitlist .feedback form{grid-template-columns:1fr;margin-top:0}
.waitlist .feedback button{justify-self:stretch}
.waitlist .fine{margin:16px 0 0;font-size:14px;color:var(--ink-2);text-align:center}
.waitlist .fine a{color:var(--olive-d);text-decoration:underline;text-underline-offset:3px}
