/* Tofu Ads: the shared shell of the secondary pages (blog, industries, privacy, terms, MSA).
   Tokens, nav, phone menu sheet, buttons, eyebrow icons, the Spring marker (em.hl), the sky-and-hills sign-up band and the
   forest footer are copied from pricing.html / faq.html, so these pages match the homepage, pricing and FAQ.
   On top of that: a 3D-valley hero band for index pages (.phero), a plain page head for articles (.pghead), a cream
   reading card (.doc) with its prose styles, and the "more" strip of cards. Page-specific bits live in
   /industries/industries.css and /blog/blog.css. */
:root{
  color-scheme:light;
  --ink:#1B1325;
  --ink-2:#463D52;
  --muted:#6E6679;
  --hair:rgba(27,19,37,.1);
  --midnight:#170B21;
  --midnight-2:#2E1E3B;
  --spring:#C5F058;
  --lime:#A8E40F;
  --forest:#0D5A41;
  --forest-ink:#EAF3E6;
  --forest-muted:rgba(234,243,230,.7);
  --cream:#FFFCF5;
  --card:rgba(255,252,245,.9);
  --card-phone:rgba(255,252,245,.86);
  --card-edge:rgba(255,255,255,.75);
  --page:#E6EFE6;
  --pill:rgba(255,252,245,.88);
  --sheet:rgba(255,252,245,.96);
  --shadow-card:0 30px 60px -28px rgba(24,56,40,.42),0 10px 24px -14px rgba(24,56,40,.2);
  --shadow-tile:0 1px 0 rgba(255,255,255,.9) inset,0 22px 40px -30px rgba(24,56,40,.55),0 6px 14px -10px rgba(24,56,40,.18);
  --display:"Gabarito","Instrument Sans","Helvetica Neue",Helvetica,Arial,system-ui,sans-serif;
  --sans:"Instrument Sans","Helvetica Neue",Helvetica,Arial,system-ui,sans-serif;
  --accent:#0B6B47;
  --gutter:clamp(16px,4.6vw,76px);
  --navh:76px;
  --wrap:1240px;
  /* the reading card: about 68 characters of 18px body text plus its padding */
  --doc-pad:clamp(26px,4.4vw,64px);
  --doc-w:calc(680px + 2 * var(--doc-pad));
}
*,*::before,*::after{box-sizing:border-box}
html{background:var(--page);-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--navh) + 20px)}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{margin:0;background:var(--page);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:clip}
a{color:inherit}
a:focus-visible{outline:3px solid var(--midnight);outline-offset:3px;border-radius:12px}
[tabindex="-1"]:focus{outline:none}
img{max-width:100%}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
h1,h2,h3,h4{font-family:var(--display);color:inherit;text-wrap:balance}
h1 em,h2 em,h3 em{font-style:normal}
.wrap{max-width:var(--wrap);margin:0 auto}

/* ---------- nav (as on the homepage, pricing and FAQ) ---------- */
.nav{position:sticky;top:env(safe-area-inset-top,0px);z-index:30;height:var(--navh);margin-bottom:calc(-1 * var(--navh));
  padding:12px max(16px,calc((100% - 1380px)/2)) 0;pointer-events:none}
.nav-in{pointer-events:auto;height:56px;display:flex;align-items:center;gap:30px;padding:0 8px 0 18px;border-radius:18px;
  background:var(--pill);-webkit-backdrop-filter:saturate(1.3) blur(14px);backdrop-filter:saturate(1.3) blur(14px);
  box-shadow:0 1px 0 var(--hair),0 14px 34px -18px rgba(20,52,36,.35);border:1px solid var(--card-edge)}
.brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-weight:620;font-size:18px;letter-spacing:-.02em;white-space:nowrap}
.brand svg{width:26px;height:25px;display:block}
.links{display:flex;gap:2px;margin:0;padding:0;list-style:none}
.links a,.login{display:block;padding:8px 12px;border-radius:10px;color:var(--ink);text-decoration:none;font-size:15px;font-weight:500;letter-spacing:-.005em;white-space:nowrap;transition:background-color .2s ease}
.links a:hover,.login:hover{background:rgba(27,19,37,.06)}
.links a[aria-current="page"]{background:var(--spring);color:var(--midnight);font-weight:600}
.nav-end{margin-left:auto;display:flex;align-items:center;gap:6px}
.menu-btn{display:none;flex:none;width:42px;height:42px;padding:0;border:0;border-radius:12px;background:rgba(27,19,37,.06);color:var(--ink);cursor:pointer;
  flex-direction:column;align-items:center;justify-content:center;gap:5px;-webkit-tap-highlight-color:transparent}
.menu-btn i{display:block;width:18px;height:1.8px;border-radius:2px;background:currentColor;transition:transform .22s ease}
.menu-btn[aria-expanded="true"]{background:var(--midnight);color:var(--cream)}
.menu-btn[aria-expanded="true"] i:first-child{transform:translateY(3.4px) rotate(45deg)}
.menu-btn[aria-expanded="true"] i:last-child{transform:translateY(-3.4px) rotate(-45deg)}
.menu-btn:focus-visible{outline:3px solid var(--midnight);outline-offset:2px}
.sheet{display:none}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:10px;height:50px;padding:0 22px;border-radius:999px;text-decoration:none;font-size:16.5px;font-weight:560;
  letter-spacing:-.01em;white-space:nowrap;transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease}
.btn svg{width:16px;height:16px;flex:none;transition:transform .25s ease}
.btn:hover svg{transform:translateX(3px)}
.btn-dark{background:var(--midnight);color:var(--cream);box-shadow:0 10px 24px -12px rgba(23,11,33,.6)}
.btn-dark:hover{background:var(--midnight-2);transform:translateY(-1px)}
.btn-light{background:var(--cream);color:var(--ink);box-shadow:inset 0 0 0 1px var(--hair)}
.btn-light:hover{background:#FFFFFF;transform:translateY(-1px)}
.btn-sm{height:42px;padding:0 17px;font-size:15px}
.ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.mk{display:inline-flex;flex:none;width:22px;height:22px}
.mk svg{display:block;width:100%;height:100%}

/* ---------- the eyebrow: a small line icon on a tinted tile, then the label (as on the Classic pages) ---------- */
:root{--eb-gap:12px}
.eyebrow,p.eyebrow{display:flex;align-items:center;gap:9px;max-width:none;margin:0 0 var(--eb-gap);font-size:12.5px;line-height:1.3;font-weight:600;letter-spacing:.085em;text-transform:uppercase;color:var(--ink-2);text-wrap:pretty}
.ico{display:inline-grid;place-items:center;flex:none;width:24px;height:24px;border-radius:7px;color:var(--ic);
  background:color-mix(in srgb,var(--ic) 14%,#FFFCF5);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ic) 22%,transparent)}
.ico svg{display:block;width:16px;height:16px;stroke-width:2.6}
/* emphasis that sits on a scene: ink on a Spring-green marker bar, slightly rounded and skewed */
em.hl{position:relative;z-index:0;display:inline-block;white-space:nowrap;font-style:normal;color:var(--ink);padding:0 .06em}
em.hl::before{content:"";position:absolute;z-index:-1;left:-.07em;right:-.1em;top:.2em;bottom:.02em;background:var(--spring);
  border-radius:.12em .22em .14em .26em;transform:skew(-9deg) rotate(-1.3deg);box-shadow:0 .04em 0 rgba(23,11,33,.06)}

/* ---------- breadcrumb ---------- */
.crumb{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0 0 20px;padding:0;list-style:none;font-size:14px;font-weight:500;color:var(--muted)}
.crumb li{display:inline-flex;align-items:center;gap:8px}
.crumb li+li::before{content:"";width:6px;height:6px;margin-right:2px;border-top:1.6px solid currentColor;border-right:1.6px solid currentColor;transform:rotate(45deg);opacity:.55}
.crumb a{color:var(--ink-2);text-decoration:none;border-radius:6px}
.crumb a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.crumb [aria-current]{color:var(--muted)}

/* ---------- index pages: a still of the 3D valley behind the heading, a pale wave into the page ---------- */
.phero{position:relative;z-index:1;overflow:hidden;padding:calc(var(--navh) + clamp(44px,6vw,84px)) var(--gutter) clamp(130px,13vw,190px);background:#9CC3E6}
.phero-bg{position:absolute;inset:0;z-index:-2;display:block}
.phero-bg img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 46%}
.phero .hills{position:absolute;z-index:-1;left:0;right:0;bottom:-1px;width:100%;height:clamp(130px,14vw,210px);display:block}
.phero-in{position:relative;max-width:var(--wrap);margin:0 auto}
.phero-copy{position:relative;max-width:760px}
.phero-copy::before{content:"";position:absolute;inset:-30% -32% -46% -30%;z-index:-1;border-radius:50%;
  background:radial-gradient(closest-side,rgba(255,250,240,.9),rgba(255,250,240,.78) 56%,rgba(255,250,240,.36) 80%,rgba(255,250,240,0));
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  -webkit-mask-image:radial-gradient(closest-side,#000 64%,rgba(0,0,0,0));mask-image:radial-gradient(closest-side,#000 64%,rgba(0,0,0,0))}
.phero .crumb{color:var(--ink-2)}
.phero .crumb a{color:var(--ink)}
.phero .crumb [aria-current]{color:var(--ink-2)}
.phero h1{margin:0;font-weight:750;font-size:clamp(48px,5.4vw,86px);line-height:.94;letter-spacing:-.045em;color:var(--ink)}
@media (min-width:761px){.phero h1 .nw{white-space:nowrap}}
.phero .sub{margin:22px 0 0;max-width:31em;font-size:clamp(17px,1.4vw,20px);font-weight:500;line-height:1.45;color:var(--ink);text-wrap:pretty}

/* ---------- article pages: the heading on the pale page, then a cream reading card ---------- */
.pghead{padding:calc(var(--navh) + clamp(40px,5.4vw,80px)) var(--gutter) clamp(26px,2.8vw,40px)}
.pghead-in{max-width:var(--doc-w);margin:0 auto}
.pghead h1{margin:0;font-weight:750;font-size:clamp(38px,4.4vw,64px);line-height:1;letter-spacing:-.04em;color:var(--ink)}
.pghead .lede{margin:22px 0 0;max-width:36em;font-size:clamp(17.5px,1.4vw,20px);line-height:1.5;color:var(--ink-2);text-wrap:pretty}
.pghead .lede b{color:var(--ink);font-weight:650}
.pghead .meta,.pghead .revised{margin:18px 0 0;font-size:15px;font-weight:500;color:var(--ink-2)}
.doc{position:relative;width:min(var(--doc-w),calc(100% - 2 * var(--gutter)));margin:0 auto;padding:var(--doc-pad);border-radius:30px;background:var(--cream);box-shadow:var(--shadow-card)}
main>.doc:last-child{margin-bottom:clamp(88px,9vw,140px)}
.pghead .doc-link{margin-top:22px}
.pghead .doc-link svg{width:17px;height:17px}
.pghead .doc-link:hover svg{transform:translateY(1px)}

/* prose: Gabarito headings, Instrument Sans body at 18px */
.prose{font-size:18px;line-height:1.65;color:var(--ink-2);overflow-wrap:break-word}
.prose>:first-child,.prose article>:first-child{margin-top:0}
.prose>:last-child,.prose article>:last-child{margin-bottom:0}
.prose h2{margin:56px 0 16px;font-weight:750;font-size:clamp(27px,2.5vw,34px);line-height:1.08;letter-spacing:-.03em;color:var(--ink)}
.prose h3{margin:34px 0 10px;font-weight:700;font-size:clamp(20px,1.6vw,22px);line-height:1.22;letter-spacing:-.02em;color:var(--ink)}
.prose h4{margin:26px 0 8px;font-weight:700;font-size:18.5px;line-height:1.3;letter-spacing:-.01em;color:var(--ink)}
.prose p{margin:0 0 18px}
.prose ul,.prose ol{margin:0 0 22px;padding-left:1.35em}
.prose li{margin:0 0 10px;padding-left:.25em}
.prose li>ul,.prose li>ol{margin:10px 0 0}
.prose ul>li::marker{color:var(--accent);font-size:1.05em}
.prose ol>li::marker{color:var(--accent);font-family:var(--display);font-weight:700}
.prose strong,.prose b{color:var(--ink);font-weight:650}
.prose em,.prose i{font-style:normal;font-weight:600;color:var(--ink)}
.prose a{color:var(--accent);font-weight:560;text-decoration:underline;text-decoration-thickness:1.5px;text-decoration-color:rgba(11,107,71,.38);text-underline-offset:3px;transition:text-decoration-color .2s ease}
.prose a:hover{text-decoration-color:currentColor}
.prose a:focus-visible{border-radius:4px}
.prose p.lead{margin:30px 0 8px;font-family:var(--display);font-weight:700;font-size:20px;line-height:1.25;letter-spacing:-.015em;color:var(--ink)}
.prose hr{height:1px;margin:40px 0;border:0;background:var(--hair)}
.prose blockquote{margin:28px 0;padding:22px 26px;border-radius:18px;background:var(--page);color:var(--ink);font-size:19px;line-height:1.5}
.prose blockquote p:last-child{margin-bottom:0}
.prose code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.86em;padding:1px 6px;border-radius:6px;background:var(--page);color:var(--ink)}
.prose pre{margin:0 0 22px;padding:18px 20px;overflow-x:auto;border-radius:16px;background:var(--midnight);color:var(--cream)}
.prose pre code{padding:0;background:none;color:inherit}
.prose figure{margin:30px 0}
.prose figure img{display:block;width:100%;height:auto;border-radius:16px}
.prose figcaption{margin-top:10px;font-size:14.5px;color:var(--muted);text-align:center}
/* the short answer at the top of an article: ink on Spring */
.answer{margin:0 0 34px;padding:24px 28px;border-radius:22px;background:var(--spring);color:var(--midnight)}
.answer p{margin:0;font-size:19px;line-height:1.5;font-weight:500;color:var(--midnight)}
.answer b,.answer strong{color:var(--midnight)}
/* questions and answers inside an article */
.faq{display:grid;gap:10px;margin:6px 0 0}
.faq-item{padding:22px 24px 20px;border-radius:20px;background:var(--page)}
.faq-item h3{margin:0 0 8px;font-weight:650;font-size:clamp(19px,1.5vw,21px);line-height:1.25;letter-spacing:-.02em}
.faq-item p{margin:0;font-size:17px;line-height:1.55}

/* ---------- a strip of cards under an article (more posts, related industries) ---------- */
.more{padding:clamp(56px,6vw,88px) var(--gutter) 0}
.more-in{max-width:var(--wrap);margin:0 auto}
.more-h{margin:0 0 22px;font-weight:750;font-size:clamp(28px,2.7vw,40px);line-height:1;letter-spacing:-.04em;color:var(--ink)}
/* the arrow in a midnight circle at the end of a card */
.go{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:var(--midnight);color:var(--spring);transition:transform .25s ease}
.go svg{width:16px;height:16px}

/* ---------- final: sign up under the sky (as on pricing and FAQ, with a link to the homepage's sign-up form) ---------- */
.band{position:relative;padding:clamp(72px,8.5vw,128px) var(--gutter)}
.final{z-index:1;overflow:hidden;text-align:center;margin-top:clamp(64px,7vw,104px);padding-top:clamp(120px,12vw,176px);padding-bottom:clamp(250px,25vw,350px);
  background:linear-gradient(180deg,#4F8BD3 0%,#8DBDE8 34%,#E9DCC6 74%,#F3DDBF 100%)}
.final .vista{position:absolute;inset:0;z-index:-2;display:block;background:#E9C9A4}
.final .vista img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 60%}
.final .dip{position:absolute;z-index:-1;left:0;right:0;top:-1px;width:100%;height:clamp(40px,5vw,76px);display:block;color:var(--page)}
.final-copy{position:relative;max-width:820px;margin:0 auto}
.final-copy::before{content:"";position:absolute;inset:-20% -14%;z-index:-1;border-radius:50%;background:radial-gradient(closest-side,rgba(255,246,230,.7),rgba(255,246,230,0))}
.final h2{margin:0;font-weight:750;font-size:clamp(42px,5vw,78px);line-height:.97;letter-spacing:-.04em;color:var(--ink)}
.final .lede{margin:18px auto 0;max-width:31em;font-size:clamp(17px,1.35vw,19.5px);line-height:1.45;color:var(--ink);text-wrap:pretty}
.final .ctas{justify-content:center;margin-top:30px}

/* ---------- footer (as on the homepage) ---------- */
.foot{position:relative;z-index:2;background:var(--forest);color:var(--forest-ink)}
.foot .hillcap{position:absolute;left:0;right:0;bottom:calc(100% - 1px);width:100%;height:clamp(40px,6vw,90px);display:block;color:var(--forest)}
.foot-in{max-width:1240px;margin:0 auto;padding:56px var(--gutter) 40px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px 48px;align-items:start}
.foot .brand{color:var(--forest-ink)}
.foot nav ul{display:grid;grid-template-columns:repeat(3,auto);gap:12px 40px;margin:0;padding:0;list-style:none}
.foot nav a{color:var(--forest-ink);text-decoration:none;font-size:15px;opacity:.86}
.foot nav a:hover{opacity:1;text-decoration:underline;text-underline-offset:3px}
.foot nav a[aria-current="page"]{opacity:1;font-weight:600}
.foot a:focus-visible{outline-color:var(--spring)}
.foot-base{grid-column:1/-1;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:26px;border-top:1px solid rgba(234,243,230,.16);font-size:13.5px;color:var(--forest-muted)}

/* ---------- responsive ---------- */
@media (max-width:1080px){
  .nav-in{gap:16px}
  .links a,.login{padding:8px 9px;font-size:14.5px}
}
/* below ~820px the links fold into a menu button and a dropdown sheet */
@media (max-width:819px){
  .links,.login{display:none}
  .menu-btn{display:inline-flex}
  .sheet{display:block;position:absolute;z-index:31;top:100%;left:16px;right:16px;max-height:calc(100svh - var(--navh) - 16px);overflow:auto;overscroll-behavior:contain;
    padding:8px;border-radius:18px;background:var(--sheet);-webkit-backdrop-filter:saturate(1.3) blur(16px);backdrop-filter:saturate(1.3) blur(16px);
    border:1px solid var(--card-edge);box-shadow:0 1px 0 var(--hair),0 24px 48px -20px rgba(20,52,36,.45);
    visibility:hidden;opacity:0;transform:translateY(-6px) scale(.985);transform-origin:top center;pointer-events:none;
    transition:opacity .18s ease,transform .24s cubic-bezier(.2,.8,.2,1),visibility 0s linear .24s}
  .sheet.open{visibility:visible;opacity:1;transform:none;pointer-events:auto;transition:opacity .18s ease,transform .24s cubic-bezier(.2,.8,.2,1),visibility 0s}
  .sheet ul{margin:0;padding:0;list-style:none}
  .sheet li+li{border-top:1px solid var(--hair)}
  .sheet ul a{display:flex;align-items:center;justify-content:space-between;min-height:50px;padding:0 14px;border-radius:12px;color:var(--ink);text-decoration:none;font-size:17px;font-weight:540;letter-spacing:-.01em}
  .sheet ul a::after{content:"";width:7px;height:7px;margin-right:4px;border-top:1.7px solid var(--muted);border-right:1.7px solid var(--muted);transform:rotate(45deg)}
  .sheet ul a:hover{background:rgba(27,19,37,.05)}
  .sheet ul a:focus-visible{outline-offset:-3px}
  .sheet ul a[aria-current="page"]{background:rgba(197,240,88,.55);font-weight:620}
  .sheet .btn{width:100%;justify-content:center;margin-top:8px}
}
@media (max-width:760px),(max-aspect-ratio:17/20){
  :root{--navh:68px;--eb-gap:10px}
  .nav{padding:8px 10px 0}
  .nav-in{height:52px;border-radius:16px;padding:0 6px 0 14px}
  .brand{font-size:17px}
  .sheet{left:10px;right:10px}
  .ctas{margin-top:22px;gap:10px}
  .eyebrow,p.eyebrow{font-size:12px;gap:8px}
  .ico{width:22px;height:22px;border-radius:6.5px}
  .ico svg{width:15px;height:15px;stroke-width:2.7}
  /* the copy sits on a frosted cream card at the top (as the pricing hero does on phones); the valley shows below it */
  .phero{padding-bottom:200px}
  .phero-bg img{object-position:50% 100%}
  .phero-copy{max-width:640px;padding:20px 20px 22px;border-radius:24px;background:var(--card-phone);-webkit-backdrop-filter:blur(18px) saturate(1.25);backdrop-filter:blur(18px) saturate(1.25);box-shadow:var(--shadow-card);border:1px solid var(--card-edge)}
  .phero-copy::before{display:none}
}
@media (max-width:760px){
  :root{--gutter:16px;--doc-pad:22px}
  .phero{padding:calc(var(--navh) + 14px) 10px 190px}
  .phero h1{font-size:clamp(40px,11vw,56px);line-height:.95}
  .phero .sub{margin-top:14px;font-size:16px}
  .crumb{margin-bottom:16px;font-size:13.5px}
  .pghead{padding-top:calc(var(--navh) + 30px);padding-bottom:22px}
  .pghead h1{font-size:clamp(32px,9vw,44px);line-height:1.02;letter-spacing:-.035em}
  .pghead .lede{margin-top:16px;font-size:17px}
  .doc{width:calc(100% - 20px);border-radius:24px}
  .prose{font-size:17px;line-height:1.62}
  .prose h2{margin-top:44px;font-size:clamp(25px,7vw,30px)}
  .prose h3{margin-top:28px;font-size:19.5px}
  .answer{margin-bottom:28px;padding:18px 18px;border-radius:18px}
  .answer p{font-size:17px}
  .faq-item{padding:18px 18px 16px;border-radius:18px}
  .faq-item h3{font-size:18.5px}
  .faq-item p{font-size:16.5px}
  .final{padding-top:104px;padding-bottom:210px}
  .final h2{font-size:clamp(36px,10vw,52px)}
  .final .lede{font-size:16.5px}
  .foot-in{grid-template-columns:minmax(0,1fr);padding-top:44px}
  .foot nav ul{grid-template-columns:repeat(2,auto);justify-content:start}
}
@media (max-width:400px){
  .btn{height:48px;padding:0 18px;font-size:16px}
  .nav .btn-sm{height:40px;padding:0 14px}
}
@media (prefers-reduced-motion:reduce){
  .btn,.btn svg,.links a,.login,.menu-btn i,.sheet,.sheet.open,.prose a,.go{transition:none}
}
