/* Landing, sign-up and prices pages. Tokens come from style.css.
   Headings in Plex Sans, sentence case. Section labels in Plex Mono, with a bar
   in the scaffold tag colour the section is about. */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
section { scroll-margin-top: 76px; }
h2.sec { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.025em; max-width: 20em; }
.kicker { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--steel); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 20px; height: 4px; border-radius: 1px; background: var(--free); }
.kicker.k-wind::before { background: var(--wind); }
.kicker.k-work::before { background: var(--work); }
.kicker.k-lock::before { background: var(--lock); }
.kicker.k-steel::before { background: var(--steel); }
.sub { font-size: 18px; line-height: 1.6; color: var(--steel); max-width: 40em; margin: 18px 0 0; }

/* Header */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 36px; height: 68px; }
.logo { display: flex; gap: 10px; align-items: center; text-decoration: none; white-space: nowrap; font: 600 18px var(--body); letter-spacing: -.015em; }
.logo img { width: 28px; height: 28px; }
.links { display: flex; gap: 26px; margin-right: auto; }
.links a { text-decoration: none; color: var(--steel); font-weight: 500; font-size: 14.5px; }
.links a:hover, .links a[aria-current] { color: var(--ink); }
.top .acts { display: flex; gap: 8px; margin-left: auto; }
.top .btn { padding: 9px 14px; font-size: 14.5px; }

/* Hero */
.herobg { background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(38px, 3.9vw, 54px); line-height: 1.06; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--lock); }
.hero .lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 30em; margin: 24px 0 32px; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.big { padding: 14px 22px; font-size: 16px; }
.note { margin-top: 18px; font-size: 14px; color: var(--steel); display: flex; align-items: center; gap: 8px; }
.note svg { width: 16px; height: 16px; stroke: var(--free); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.proof { margin-top: 18px; font: 600 15px var(--body); color: var(--ink); }

/* Checks under the hero buttons: price, trial and where it runs. */
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 28px; font-size: 14.5px; color: var(--ink-2); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { width: 16px; height: 16px; stroke: var(--free); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.shot { position: relative; padding: 0 48px 56px 0; }
.browser { background: #fff; border-radius: 12px; border: 1px solid #cdd5da; box-shadow: 0 40px 80px -24px rgba(23,32,43,.26), 0 12px 24px -12px rgba(23,32,43,.12); overflow: hidden; }
.browser .bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #f6f8f9; border-bottom: 1px solid #e1e6e9; }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3dade; }
.browser .bar span { margin-left: 14px; flex: 1; max-width: 300px; height: 20px; border-radius: 5px; background: #e9edef; font: 11.5px/20px var(--mono); color: var(--steel); padding: 0 10px; white-space: nowrap; overflow: hidden; }
.browser img { display: block; width: 100%; height: auto; }
.phone { position: absolute; right: 0; bottom: 0; width: 30%; min-width: 150px; border-radius: 30px; background: var(--ink); padding: 7px; box-shadow: 0 30px 60px -16px rgba(23,32,43,.45), 0 0 0 1px rgba(255,255,255,.06) inset; }
.phone img { display: block; width: 100%; height: auto; border-radius: 23px; }

/* Wind band */
.wind { background: var(--ink); color: #dfe6ea; padding: 104px 0; }
.wind .kicker { color: #9fb0ba; }
.wind h2.sec { color: #fff; max-width: 17em; }
.wind .sub { color: #b4c2ca; }
/* The screenshot is the panel card itself, border and corners included. */
.wind .chart { margin: 48px 0 0; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); }
.wind .chart img { display: block; width: 100%; height: auto; }
.wind .cap { font: 12.5px var(--mono); color: #8fa1ac; margin: 12px 0 0; }
.wpts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 44px 0 0; padding: 0; }
.wpts li { position: relative; padding: 18px 0 18px 26px; font-size: 16px; color: #dfe6ea; border-top: 1px solid rgba(255,255,255,.12); }
.wpts li::before { content: ""; position: absolute; left: 0; top: 26px; width: 10px; height: 4px; border-radius: 1px; background: var(--wind); }
.wind .law { margin: 32px 0 0; font-size: 14px; color: #8fa1ac; max-width: 60em; }

/* Steps */
.steps { padding-top: 112px; padding-bottom: 48px; }
.steps ol { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps .frame { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 0 0; height: 380px; overflow: hidden; display: flex; justify-content: center; }
.steps .frame .phone { position: static; width: 236px; min-width: 0; border-radius: 30px 30px 0 0; padding: 7px 7px 0; box-shadow: 0 20px 40px -12px rgba(23,32,43,.35); }
.steps .frame .phone img { border-radius: 23px 23px 0 0; }
.steps h3 { font-size: 21px; letter-spacing: -.015em; margin: 24px 0 8px; display: flex; gap: 12px; align-items: baseline; }
.steps h3::before { content: "0" counter(s); font: 500 13px var(--mono); color: var(--free-ink); }
.steps li p { margin: 0; color: var(--steel); font-size: 16px; }

/* Features */
.features { padding-top: 80px; padding-bottom: 112px; }
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 44px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
/* Lines from box-shadow, so any card count closes the grid cleanly; the
   outer edge is clipped by overflow: hidden. */
.fgrid > a { display: flex; gap: 16px; align-items: flex-start; padding: 24px 26px; text-decoration: none; color: var(--ink); box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); transition: background-color .15s; }
.fgrid > a:hover { background: #f7f9fa; }
.fgrid > a:hover h3 { color: var(--work); }
.fic { width: 38px; height: 38px; border-radius: 9px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.fic svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fgrid h3 { font-size: 16.5px; letter-spacing: -.01em; margin-bottom: 5px; }
.fgrid p { margin: 0; color: var(--steel); font-size: 14.5px; line-height: 1.55; }

/* Security */
.secure { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 104px 0; }
.sgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; margin-top: 44px; }
.sgrid > div { padding: 24px 0 28px; border-top: 1px solid var(--line); }
.sgrid h3 { font-size: 17px; letter-spacing: -.01em; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.sgrid h3 svg { width: 20px; height: 20px; fill: none; stroke: var(--free-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sgrid p { margin: 0; color: var(--steel); font-size: 15px; line-height: 1.6; }
.sgrid code { font: 13px var(--mono); background: var(--paper); padding: 1px 5px; border-radius: 4px; color: var(--ink); }
.secure .more { margin: 28px 0 0; font-size: 15px; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 72px; padding-top: 104px; padding-bottom: 104px; }
.faq .side { position: sticky; top: 108px; align-self: start; }
.faq .side p { color: var(--steel); margin: 16px 0 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 17px/1.4 var(--body); letter-spacing: -.005em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 9px; height: 9px; border-right: 2px solid var(--steel); border-bottom: 2px solid var(--steel); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq details p { margin: 0 0 22px; color: var(--steel); font-size: 16px; line-height: 1.6; max-width: 42em; }

/* End */
.end { background: var(--ink); color: #fff; border-radius: 16px; padding: 64px 60px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; margin-bottom: 80px; position: relative; overflow: hidden; }
.end::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--free); }
.end h2.sec { color: #fff; }
.end p { color: #b4c2ca; margin: 14px 0 0; font-size: 17px; max-width: 34em; }
.end p.small { font-size: 14.5px; color: #8fa1ac; }
.end p.small a { color: #dfe6ea; }
.end .btn { background: var(--free-ink); border-color: var(--free-ink); }
.end .btn:hover { background: #125f32; border-color: #125f32; }
.end .btn.ghost { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.end .btn.ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }

/* Footer: columns on the landing page, one line on the other pages. */
footer { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 13px; color: var(--steel); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav { display: flex; gap: 18px; }
footer.cols { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding: 48px 0 24px; font-size: 14px; }
footer.cols .logo { font-size: 16px; color: var(--ink); }
footer.cols p { margin: 12px 0 0; max-width: 24em; line-height: 1.6; }
footer.cols h4 { margin: 4px 0 12px; font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--steel); }
footer.cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer.cols a { color: var(--ink); text-decoration: none; }
footer.cols a:hover { text-decoration: underline; }
.footbase { border-top: 1px solid var(--line); padding: 18px 0 40px; font: 12.5px var(--mono); color: var(--steel); }

/* Sign-up page */
.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; align-items: start; padding-top: 64px; padding-bottom: 80px; }
.signup h1 { font-size: clamp(38px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.035em; }
.signup .lead { font-size: 18.5px; line-height: 1.6; max-width: 30em; margin: 20px 0 32px; color: var(--ink-2); }
.plan { list-style: none; counter-reset: plan; margin: 0 0 24px; padding: 0; max-width: 34em; }
.plan li { counter-increment: plan; position: relative; padding: 0 0 22px 52px; }
.plan li::before { content: counter(plan); position: absolute; left: 0; top: -4px; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink); font: 500 14px/30px var(--mono); text-align: center; }
.plan li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 2px; background: var(--line); }
.plan h2 { font-size: 18px; letter-spacing: -.01em; margin: 0 0 4px; }
.plan p { margin: 0; color: var(--steel); }
.signup .form { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 28px; box-shadow: var(--lift); }
.signup label.f { display: block; margin-bottom: 14px; }
.signup label.f > span { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 5px; }
.signup input[type=text], .signup input[type=tel], .signup input[type=email], .signup input[type=password], .signup select { font: 16px var(--body); padding: 10px 11px; border: 1px solid #c4ccd1; border-radius: 6px; background: #fff; color: var(--ink); width: 100%; }
.signup input:focus, .signup select:focus { outline: none; border-color: var(--work); box-shadow: 0 0 0 3px rgba(60,110,158,.2); }
.signup input[aria-invalid] { border-color: var(--lock); background: var(--lock-bg); }
.signup .two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.signup .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--steel); margin: 4px 0 16px; }
.signup .consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.signup .consent.bad { color: var(--lock); }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup .err { color: var(--lock); font-weight: 600; margin: 0 0 14px; }
.signup button.btn { width: 100%; justify-content: center; }
.signup button:disabled { opacity: .6; cursor: wait; }
.signup #done h2 { font-size: 28px; letter-spacing: -.02em; margin-bottom: 10px; }

/* One entrance for the product picture, nothing else moves. */
@media (prefers-reduced-motion: no-preference) {
  .browser { animation: rise .7s cubic-bezier(.2,.7,.2,1) both .1s; }
  .hero .phone { animation: rise .7s cubic-bezier(.2,.7,.2,1) both .35s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
}

@media (max-width: 1080px) {
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .links { gap: 20px; }
}
@media (max-width: 900px) {
  /* Phone: Prices stays in the header, the page sections go. */
  .links { margin-right: 0; }
  .links a:not(.keep) { display: none; }
  header.top .wrap { justify-content: space-between; gap: 16px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 44px; padding-top: 36px; padding-bottom: 56px; }
  .wpts { grid-template-columns: minmax(0, 1fr); }
  .steps ol { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .steps .frame { height: 340px; }
  .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .faq .side { position: static; }
  .end { grid-template-columns: minmax(0, 1fr); padding: 44px 32px; }
  footer.cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  footer.cols > div:first-child { grid-column: 1 / -1; }
  .signup { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 36px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .top .acts .ghost { display: none; }
  header.top .wrap { gap: 12px; }
  .logo { font-size: 17px; gap: 8px; }
  .top .btn { padding: 8px 11px; font-size: 14px; }
  .hero .lead { font-size: 17px; }
  .checks { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .shot { padding: 0 24px 36px 0; }
  .phone { width: 38%; min-width: 0; border-radius: 20px; padding: 5px; }
  .phone img { border-radius: 16px; }
  .wind, .steps, .features, .faq, .secure { padding-top: 72px; padding-bottom: 72px; }
  .fgrid { grid-template-columns: minmax(0, 1fr); }
  .fgrid > a { padding: 18px 16px; }
  .sgrid { grid-template-columns: minmax(0, 1fr); }
  .end { padding: 40px 24px 36px 28px; }
  .end .ctas .btn { width: 100%; justify-content: center; }
  footer.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .signup .form { padding: 20px 16px; }
  .signup .two { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* Prices page */
.prices { padding-top: 64px; padding-bottom: 16px; }
.prices h1 { font-size: clamp(38px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.035em; }
.period { display: inline-flex; margin-top: 32px; padding: 4px; background: #dfe5e8; border-radius: 10px; }
.period[hidden] { display: none; }
.period button { font: 600 15px var(--body); border: 0; background: none; color: var(--steel); padding: 9px 16px; border-radius: 7px; cursor: pointer; }
.period button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.period button span { font-weight: 500; font-size: 13px; color: var(--free-ink); margin-left: 4px; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.tier { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.tier h2 { font-size: 22px; letter-spacing: -.015em; }
.tier .logins { margin: 4px 0 0; color: var(--steel); }
.tier .price { margin: 24px 0 28px; color: var(--steel); }
.tier .price b { font: 600 44px/1 var(--body); letter-spacing: -.03em; color: var(--ink); margin-right: 4px; font-feature-settings: "tnum"; }
.tier .btn { margin-top: auto; justify-content: center; }
.setup, .every { padding-top: 72px; padding-bottom: 0; }
.every { padding-bottom: 72px; }
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.way { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.way h3 { font-size: 20px; letter-spacing: -.015em; }
.way .fee { font: 600 16px var(--body); color: var(--free-ink); margin: 6px 0 12px; }
.way p:last-child { margin: 0; color: var(--steel); }
.has { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; max-width: 760px; }
.has li { position: relative; padding-left: 22px; font-size: 16.5px; }
.has li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 4px; border-radius: 1px; background: var(--free); }
.more { margin: 28px 0 0; color: var(--steel); }
@media (max-width: 900px) {
  .tiers, .ways { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .prices { padding-top: 32px; }
  .has { grid-template-columns: minmax(0, 1fr); }
  .tier, .way { padding: 22px 18px; }
}

.roles { padding-top: 32px; padding-bottom: 104px; }
.rtable { margin-top: 40px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); max-width: 860px; }
.rtable table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.rtable th, .rtable td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.rtable tbody tr:last-child > * { border-bottom: 0; }
.rtable thead th { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--steel); background: #f7f9fa; }
.rtable tbody th { font-weight: 500; color: var(--ink); }
.rtable td { width: 18%; color: var(--steel); }
.rtable td.y { color: var(--free-ink); font-weight: 600; }
.rtable td.y::before { content: "✓ "; }
.rtable td.n::before { content: "✗ "; }
.rsub { margin-top: 56px; font: 600 20px var(--body); letter-spacing: -.015em; }
.roles .rsub + .sub { margin-top: 8px; }
.rsite { margin-top: 20px; }
.rsite tbody th { width: 34%; }
.rsite td { width: auto; color: var(--ink); }
@media (max-width: 560px) {
  .roles { padding-top: 64px; padding-bottom: 64px; }
  .rtable table { font-size: 14px; }
  .rtable th, .rtable td { padding: 12px 10px; }
  .rtable td { width: 21%; }
}
