/* Teaser stylesheet: the parts of site/styles.css these pages use, plus their own layout. Copy changes from there. */

/* ============ Fonts (self-hosted Latin subsets from Google Fonts, SIL Open Font License) ============ */
@font-face{font-family:"Poppins";font-weight:600;font-display:swap;src:url(fonts/poppins-600-latin.woff2) format("woff2")}
@font-face{font-family:"Poppins";font-weight:700;font-display:swap;src:url(fonts/poppins-700-latin.woff2) format("woff2")}
/* Open Sans is one variable file covering both weights */
@font-face{font-family:"Open Sans";font-weight:400 600;font-display:swap;src:url(fonts/open-sans-latin.woff2) format("woff2")}

/* ============ Brand tokens (from the Syincuso style guide) ============ */
:root{
  color-scheme:light;
  --black:#0B0B0B; --red:#B22222; --red-hover:#9A1D1D; --red-press:#801818;
  --white:#FFFFFF; --gold:#C9A227;
  --charcoal:#1C1C1C; --graphite:#333333; --slate:#5C5C5C; --bone:#F5F3EE; --linen:#E6E4DF; --silver:#B8B8B8;
  --display:"Poppins",Arial,sans-serif;
  --body:"Open Sans",Arial,sans-serif;
  --wrap:1120px;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
  background:var(--black);
}
*,*::before,*::after{box-sizing:inherit}
body{margin:0;font-family:var(--body);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:var(--display);margin:0;line-height:1.15;text-wrap:balance}
h1{font-weight:700;font-size:36px}
h2{font-weight:700;font-size:22px}
p{margin:0;max-width:62ch;text-wrap:pretty}
.small{font-size:13px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
/* focus outline per surface (brand kit): gold on black, red on white */
a:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:4px}
.on-white :focus-visible{outline-color:var(--red)}
.skip{position:absolute;left:-9999px}.skip:focus{left:16px;top:16px;background:var(--gold);color:var(--black);padding:8px 12px;z-index:99}

/* ============ Buttons and links ============ */
.btn{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 20px;border-radius:18px;
  font-family:var(--body);font-weight:600;font-size:15px;text-decoration:none;border:1.5px solid transparent;cursor:pointer;white-space:nowrap;transition:background-color .15s}
.btn.lg{height:56px;padding:0 28px;border-radius:22px;font-size:17px}
.on-black .btn-main{background:var(--red);color:var(--white)}
.on-black .btn-main:hover{background:var(--red-hover)} .on-black .btn-main:active{background:var(--red-press)}
.link{transition:text-decoration-color .15s;font-weight:600;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.on-black .link{color:var(--white);text-decoration-color:var(--gold)}
.on-white .link{color:var(--black);text-decoration-color:var(--red)}
:is(.on-white,.on-black) .link:hover{text-decoration-color:currentColor}

.on-black{background:var(--black);color:var(--white)}
.on-white{background:var(--white);color:var(--black)}

/* ============ Logos (sprite symbols; aspect ratios match their viewBoxes) ============ */
.sprite{position:absolute}
.logo{display:block;flex-shrink:0;overflow:visible}
.logo.full{aspect-ratio:233.321/105.816}
.logo-ink{color:var(--black);--logo-center:var(--red)}
.logo-light{color:var(--white);--logo-center:var(--gold)}

/* ============ Teaser (home page: everything centered on one black screen) ============ */
.teaser{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
.teaser main{flex:1;display:flex;align-items:center;padding:72px 0;background:
  radial-gradient(50% 45% at 50% 40%,rgba(201,162,39,.10),transparent 70%),
  radial-gradient(90% 100% at 50% 0%,var(--charcoal),var(--black) 70%)}
.teaser main .wrap{display:flex;flex-direction:column;align-items:center;text-align:center;width:100%}
.teaser .wordmark{height:72px;width:auto;margin-bottom:40px}
.est{display:flex;align-items:center;gap:14px;color:var(--gold);font-family:var(--display);font-weight:600;font-size:15px;margin-bottom:24px}
.est::before,.est::after{content:"";width:48px;height:4px;background:var(--red);border-radius:2px}
.teaser .lead{color:var(--silver);margin-top:20px}
.teaser .actions{margin-top:36px}
.teaser .soon{margin-top:16px;color:var(--silver);font-size:15px}
/* the extension card: charcoal next to black, like the guide's section separation */
.tool-card{margin-top:64px;max-width:520px;padding:24px 28px;text-align:left;background:var(--charcoal);border:1px solid var(--graphite);border-radius:18px;
  display:flex;flex-direction:column;gap:10px}
.tool-card .tag{color:var(--gold);font-family:var(--display);font-weight:600;font-size:13px;letter-spacing:.03em}
.tool-card h2{font-size:20px}
.tool-card p{color:var(--silver);font-size:15px}
.tool-card .small{font-size:13px}
@media (max-width:640px){
  .teaser main{padding:56px 0}
  .teaser h1{font-size:30px}
  .teaser .wordmark{height:56px;margin-bottom:32px}
  .tool-card{margin-top:48px;padding:20px}
}

/* ============ Legal pages (white header, one text column) ============ */
.site-header{border-bottom:1px solid var(--linen)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:72px;gap:24px}
.site-header .brand .logo{height:48px;width:auto}
.site-header .back{color:var(--black);text-decoration:none;font-weight:600;font-size:15px;white-space:nowrap}
.site-header .back:hover{text-decoration:underline;text-decoration-color:var(--red);text-decoration-thickness:2px;text-underline-offset:6px}
.legal-page{padding:72px 0 96px}
.legal-page .wrap{max-width:800px;display:flex;flex-direction:column;gap:18px}
.legal-page .bar{width:48px;height:4px;background:var(--gold);border-radius:2px}
.legal-page h2{margin-top:22px}
.legal-page p,.legal-page li{color:var(--slate)}
.legal-page strong{color:var(--black)}
.legal-page ul{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:8px}
.legal-page ul ul,.legal-page li>p{margin-top:8px}
.legal-page code{font-family:Consolas,"Courier New",monospace;font-size:.9em;color:var(--black);background:var(--bone);border:1px solid var(--linen);border-radius:4px;padding:0 5px}
.legal-page .effective{color:var(--slate);font-size:15px}
@media (max-width:640px){
  .legal-page{padding:48px 0 64px}
  .legal-page h1{font-size:30px}
  .site-header .brand .logo{height:40px}
}

/* ============ Footer ============ */
footer{padding:32px 0;border-top:1px solid var(--graphite)}
footer .wrap{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;color:var(--silver)}
footer nav{display:flex;gap:24px;flex-wrap:wrap}
footer nav a{color:var(--silver);text-decoration:none;font-size:15px;font-weight:600}
footer nav a:hover{color:var(--white)}
