/* getduality.com styles. Colours come only from tokens.css (a snapshot of the dashboard's theme). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px; line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.top, .foot, main { width: calc(100% - 32px); max-width: 1048px; margin: 0 auto; }

/* header */
.top { display: flex; align-items: center; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: inline-flex; flex: none; }
.brand img { height: 28px; width: auto; }
.foot-brand img { height: 22px; width: auto; }
.logo-on-dark { display: none; }
[data-theme="dark"] .logo-on-light { display: none; }
[data-theme="dark"] .logo-on-dark { display: inline; }
.nav-wide { display: flex; gap: 22px; margin-left: 12px; }
.nav-wide a, .menu-panel a:not(.button) { text-decoration: none; font-weight: 500; }
.nav-wide a { color: var(--muted); padding: 6px 0; }
.nav-wide a:hover, .nav-wide a[aria-current="page"] { color: var(--ink); }
.nav-wide a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ink); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.signin { text-decoration: none; font-weight: 500; color: var(--muted); }
.signin:hover { color: var(--ink); }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); font-weight: 500; }
.menu summary::-webkit-details-marker { display: none; }
.menu .menu-close { display: none; }
.menu[open] .menu-close { display: inline; }
.menu[open] .menu-open { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; width: min(280px, calc(100vw - 32px));
  display: flex; flex-direction: column; gap: 4px; padding: 12px; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; box-shadow: 0 12px 32px rgba(0,0,0,0.18); }
.menu-panel a:not(.button) { padding: 10px 8px; border-radius: 8px; }
.menu-panel a:not(.button):hover { background: var(--rule-soft); }
.menu-panel .button { margin-top: 6px; text-align: center; }

/* buttons */
.button { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 500; text-decoration: none; border: 1px solid var(--ink); }
.button.small { padding: 8px 16px; font-size: 15px; }
.button.ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.button:hover, .button:focus-visible { opacity: 0.86; outline: none; }
.button.ghost:hover { border-color: var(--ink); opacity: 1; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* type */
main { flex: 1; padding-top: 40px; padding-bottom: 72px; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.1; font-weight: 600; margin: 0 0 16px; letter-spacing: -0.02em; max-width: 20ch; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; font-weight: 600; margin: 64px 0 16px; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 600; margin: 0 0 8px; }
p { margin: 0 0 16px; }
p.lead { font-size: 1.15rem; color: var(--muted); max-width: 52ch; margin: 0 0 28px; }
.muted { color: var(--muted); }
.hero { padding-top: 10vh; padding-bottom: 8vh; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.plan { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-radius: 20px; padding: 22px; }
.plan .price { font-size: 2.25rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 4px 0 4px; }
.plan .price small { font-size: 0.95rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan .who { color: var(--muted); font-size: 0.95rem; min-height: 3em; }
.plan ul { list-style: none; padding: 14px 0 0; margin: 0 0 20px; border-top: 1px solid var(--rule); flex: 1; }
.plan li { padding: 3px 0; }
.plan .button { text-align: center; }
.plans + p { margin-top: 20px; }
.ticks { list-style: none; padding: 0; margin: 0; max-width: 62ch; }
.ticks li { position: relative; padding: 6px 0 6px 30px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.addon { background: var(--card); border: 1px solid var(--rule); border-radius: 20px; padding: 22px; }
.addon .price { font-weight: 600; margin-bottom: 10px; }
.addon p:last-child { margin-bottom: 0; }

/* faq */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 300; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-right: 40px; }

/* call to action band */
.cta-band { margin-top: 72px; padding: 40px 28px; border-radius: 24px; background: var(--rail); color: var(--rail-ink); }
.cta-band h2 { margin: 0 0 10px; }
.cta-band p { color: var(--rail-muted); max-width: 52ch; }
.cta-band .button { background: var(--rail-ink); color: var(--rail); border-color: var(--rail-ink); }
.cta-band .micro { font-size: 14px; margin: 12px 0 0; }

/* footer */
.foot { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; padding-top: 28px; padding-bottom: 32px; font-size: 15px; color: var(--muted); border-top: 1px solid var(--rule); }
.foot-brand p { margin: 8px 0 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: flex-start; justify-content: flex-end; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot-note { grid-column: 1 / -1; margin: 0; font-size: 14px; }

@media (max-width: 980px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .nav-wide, .top-actions { display: none; }
  .menu { display: block; }
  .addons { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  main { padding-top: 24px; padding-bottom: 48px; }
  h2 { margin-top: 48px; }
  .plans { grid-template-columns: 1fr; }
  .plan .who { min-height: 0; }
  .cta-band { padding: 28px 20px; margin-top: 56px; }
  .foot { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
}

/* ---- home ---- */
.home-hero { padding-top: 2vh; }
.home-hero h1 { max-width: 24ch; }
.home-hero p.lead { max-width: 62ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 4px 0 10px; }
.micro { font-size: 14px; color: var(--muted); margin: 0 0 24px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 0; margin: 0 0 40px; font-size: 15px; color: var(--muted); }
.trust li { position: relative; padding-left: 26px; }
.trust li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--rule); box-shadow: 0 18px 50px rgba(22, 25, 28, 0.12); }
[data-theme="dark"] .shot img { box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); }
.shot figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.pains, .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.pains li, .steps li { background: var(--card); border: 1px solid var(--rule); border-radius: 20px; padding: 22px; }
.pains li { margin: 0; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 600; margin-bottom: 14px; }
.steps { counter-reset: step; }
.steps p, .pains p { margin: 0; }
.steps p { color: var(--muted); }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; margin: 56px 0; }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .feature-text { order: 2; }
.feature h3 { font-size: 1.45rem; line-height: 1.25; margin-bottom: 12px; }
.feature p { color: var(--muted); }
.proof { display: inline-block; font-size: 14px; font-weight: 500; color: var(--ink); padding: 4px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 16px 0 0; }
.chips li { padding: 8px 16px; background: var(--card); border: 1px solid var(--rule); border-radius: 999px; font-weight: 500; }
.wide-note { max-width: 60ch; }
@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 20px; margin: 40px 0; }
  .feature.flip .feature-text { order: 0; }
}
@media (max-width: 760px) { .pains, .steps { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .home-hero { padding-top: 0; } .trust { margin-bottom: 28px; } }
