/* Smartender landing page — design 04 ("video-led") of the landing concepts.
   The design's teal (#00b2c0) carries white text at 2.6:1, below WCAG AA; the
   buttons use a deeper teal that holds 4.7:1, and the bright one is kept for
   what carries no text. */

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/figtree-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/figtree-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --navy: #0b1150;
  --ink: #3b4a86;
  --muted: #5b6890;
  --teal: #00b2c0;
  --teal-play: #0097a7;
  --teal-btn: #007f8b;
  --teal-btn-hover: #006a74;
  --teal-soft: #8fe3e8;
  --blue: #2563eb;
  --band: #eff7fe;
  --line: #d7e3f2;
  --bar: #cfd6e2;
  --bar-soft: #dfe4ec;
  --white: #ffffff;
  --radius: 14px;
  --wrap: 1120px;
  --focus: #068ee0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.6 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
h1, h2, h3 { color: var(--navy); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.15rem, 1.2rem + 4vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
/* What the page hides stays hidden whatever its class sets (.btn is inline-flex). */
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 20; padding: 10px 14px; background: var(--navy); color: #fff; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 10px;
  font: inherit; font-size: 1.0625rem; font-weight: 700; text-decoration: none;
  cursor: pointer; border: 2px solid transparent; transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 22px; height: 22px; }
.btn-primary { background: var(--teal-btn); color: #fff; }
.btn-primary:hover { background: var(--teal-btn-hover); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--band); }
.btn-outline svg circle { fill: var(--navy); }
.btn-outline svg path { fill: #fff; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.brand .mark { flex: none; width: 44px; height: 44px; }
.brand-sm { font-size: 1.125rem; gap: 8px; }
.brand-sm .mark { width: 40px; height: 40px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-link { color: var(--navy); font-size: 0.9375rem; font-weight: 600; text-decoration: none; }
.nav-link:hover { color: var(--teal-btn); }

/* Hero */
.hero { padding: 64px 0 56px; text-align: center; background: linear-gradient(180deg, #fff 0%, #f7fbff 100%); }
.hero .lead { max-width: 640px; margin: 18px auto 0; font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 28px; }
.tagline { margin-top: 18px; color: var(--ink); font-weight: 500; }
.note { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; }

/* The video: a player window as design 04 draws it — the illustration, the
   play button over it and a control bar — until a video is set and played.
   Proportions are the design's own: its window is 16:7.4, the bar an eighth
   of it, the button an eighth of the width. */
.video { position: relative; max-width: 960px; margin: 40px auto 0; border-radius: 16px; overflow: hidden; border: 1px solid #c7d8ee; background: linear-gradient(180deg, #e8f2fd 0%, #dcecfc 100%); box-shadow: 0 18px 40px -24px rgba(11, 17, 80, 0.35); }
/* The poster keeps the design's proportions until the reader presses play,
   video or no video: everything on it is placed for 16:7.4. Only the player
   that the press opens takes 16:9. */
.video-stage { position: relative; aspect-ratio: 16 / 7.4; }
.video.playing { aspect-ratio: 16 / 9; }
.video.playing .video-stage { display: none; }
.video.ready .video-stage { cursor: pointer; }
.video iframe, .video video { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; background: #000; }

.doc { position: absolute; top: 10.5%; width: 33%; padding: 3.2% 3.2% 2.6%; background: rgba(255, 255, 255, 0.82); border: 1px solid #e3ecf8; border-radius: 16px; box-shadow: 0 16px 30px -22px rgba(11, 17, 80, 0.45); text-align: left; }
.doc-in { left: 5%; transform: perspective(900px) rotateY(14deg) rotateZ(-1.5deg); }
.doc-out { right: 4.5%; transform: perspective(900px) rotateY(-14deg) rotateZ(1.5deg); }
.doc-title { color: var(--navy); font-weight: 700; font-size: clamp(0.7rem, 0.45rem + 0.8vw, 1.05rem); letter-spacing: -0.01em; }
.doc-head { display: flex; align-items: flex-start; gap: 8%; margin-top: 7%; }
.doc-icon { flex: none; width: 15%; height: auto; fill: none; stroke: #5d6fa6; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.bars { display: grid; gap: 9px; flex: 1; }
.bars i, .dots li, .line, .side i, .side b { display: block; height: 9px; border-radius: 5px; background: var(--bar); }
.bars i:nth-child(2) { width: 85%; }
.bars i.short, .dots li.short, .line.short { width: 60%; }
.dots { list-style: none; margin: 9% 0 0; padding: 0; display: grid; gap: 9px; }
.dots li { position: relative; margin-left: 9%; }
.dots li::before { content: ''; position: absolute; left: -12%; top: -1px; width: 11px; height: 11px; border-radius: 50%; background: var(--bar); }
/* The arrow points from the requirements to the play button, the spark sits
   above the button's shoulder: both where the design puts them. */
.flow { position: absolute; left: 39.3%; top: 34%; width: 4.4%; }
.flow .arrow { display: block; width: 100%; height: auto; fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.spark { position: absolute; left: 55.2%; top: 19.9%; width: 4.2%; height: auto; fill: none; stroke: var(--teal); stroke-width: 3.6; stroke-linecap: round; }
.play {
  position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%);
  width: 12.3%; min-width: 64px; max-width: 118px; height: auto; aspect-ratio: 1; padding: 0; border-radius: 50%;
  border: 0; background: var(--teal-play); cursor: pointer; box-shadow: 0 10px 28px -10px rgba(0, 120, 135, 0.8);
  transition: transform .15s ease, background-color .15s ease;
}
.play:hover { background: var(--teal-btn); transform: translate(-50%, -50%) scale(1.05); }
.play svg { display: block; width: 62%; height: 62%; margin: auto; fill: #fff; }
.video-caption { position: absolute; left: 0; right: 0; bottom: 24%; color: var(--navy); font-weight: 800; font-size: clamp(1rem, 0.6rem + 1.4vw, 1.75rem); letter-spacing: -0.02em; }
/* Said only when play is pressed with nothing to play yet. A status region,
   on the page from the start and empty (it takes no room): never hidden, or a
   screen reader would not hear the text that appears in it. */
.video-soon { position: absolute; left: 0; right: 0; bottom: 15.5%; color: var(--muted); font-size: 0.9375rem; }
/* The design's control bar: a picture of one, not controls. */
.video-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 12.6%; display: flex; align-items: center; gap: 2.4%; padding: 0 2.6% 0 1.9%; background: #10295c; pointer-events: none; }
.bar-icon { flex: none; width: 4%; min-width: 16px; max-width: 36px; height: auto; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bar-icon .solid { fill: #fff; stroke: none; }
.bar-track { position: relative; flex: 1; height: clamp(4px, 0.73vw, 7px); margin-right: 3%; border-radius: 4px; background: #6b768c; }
.bar-done { position: absolute; left: 0; top: 0; bottom: 0; width: 13%; border-radius: 4px; background: #fff; }
.bar-done::after { content: ''; position: absolute; right: 0; top: 50%; width: clamp(13px, 1.6vw, 16px); height: clamp(13px, 1.6vw, 16px); border-radius: 50%; background: #fff; transform: translate(50%, -50%); }

/* Bands and cards */
.band { background: var(--band); }
.features { padding: 72px 0; }
.cards { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; gap: 18px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.card p { margin-top: 8px; font-size: 1rem; }
.icon { flex: none; width: 48px; height: 48px; fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-blue { stroke: var(--blue); }

/* Requirements to draft */
.split { padding: 80px 0; }
.split-row { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.split .sub { margin-top: 16px; font-size: 1.125rem; }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 38px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: #dff5f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23007f8b' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.preview { margin: 0; }
.window { border: 1px solid #c7d8ee; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 18px 40px -26px rgba(11, 17, 80, 0.4); }
.window-bar { display: flex; gap: 8px; padding: 12px 16px; background: #eef2f8; border-bottom: 1px solid var(--line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #9aa6c4; }
.window-body { display: grid; grid-template-columns: 30% 1fr; min-height: 250px; }
.side { display: grid; align-content: start; gap: 12px; padding: 22px 18px; background: #f3f8fe; border-right: 1px solid var(--line); }
.side b { width: 80%; height: 14px; background: #b8c3d6; }
.side i:nth-child(odd) { width: 70%; }
.editor { margin: 18px; padding: 14px 18px 20px; border: 1px solid var(--line); border-radius: 10px; display: grid; gap: 12px; align-content: start; }
.toolbar { display: flex; gap: 18px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 700; }
.tb-i { font-style: italic; font-family: Georgia, serif; }
.tb-list { width: 18px; height: 12px; background: linear-gradient(var(--ink) 0 0) 6px 0 / 12px 2px no-repeat, linear-gradient(var(--ink) 0 0) 6px 5px / 12px 2px no-repeat, linear-gradient(var(--ink) 0 0) 6px 10px / 12px 2px no-repeat, radial-gradient(circle, var(--ink) 1.4px, transparent 1.6px) 0 -5px / 4px 5px repeat-y; }
.editor-head { display: flex; gap: 16px; align-items: flex-start; }
.editor-head .doc-icon { width: 34px; }
.editor-head .bars { gap: 10px; }
.preview figcaption { margin-top: 12px; text-align: center; color: var(--muted); font-size: 0.875rem; }

/* Steps */
.steps { padding: 24px 0 72px; }
.step-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; display: flex; align-items: flex-start; gap: 16px; }
.step:not(:last-child)::after { content: ''; position: absolute; right: -24px; top: 18px; width: 20px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14'%3E%3Cpath d='M1 7h16M12 1.5L17.5 7 12 12.5' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.num { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal-soft); color: var(--navy); font-weight: 800; font-size: 0.9375rem; }
.step .icon { width: 44px; height: 44px; stroke: var(--blue); }
.step p { margin-top: 6px; font-size: 1rem; }

/* FAQ */
.faq { padding: 8px 0 80px; }
.faq-list { margin-top: 24px; display: grid; gap: 12px; }
.faq details { border: 1px solid #c9d7ec; border-radius: 10px; background: #fff; }
.faq summary { position: relative; display: block; padding: 16px 56px 16px 22px; color: var(--navy); font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(45deg); transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 22px 18px; }

/* Closing call */
.final { padding: 64px 0; }
.final h2 { max-width: 760px; margin: 0 auto 26px; }

/* Footer */
.site-footer { padding: 28px 0 32px; border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: var(--ink); font-weight: 500; text-decoration: none; }
.footer-links a:hover { color: var(--teal-btn); text-decoration: underline; }
.footer-fine { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; color: var(--muted); font-size: 0.875rem; }

/* Tablet */
@media (max-width: 900px) {
  .cards, .step-list { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .split-row { grid-template-columns: 1fr; gap: 40px; }
  .features, .split { padding: 56px 0; }
}

/* Phone */
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .nav { gap: 16px; }
  .nav-link:not(.nav-login) { display: none; }
  .hero { padding: 44px 0 44px; }
  .video { margin-top: 28px; border-radius: 12px; }
  .video-stage { aspect-ratio: 16 / 10; }
  .doc { top: 8%; width: 40%; padding: 4%; }
  .doc-in { left: 4%; }
  .doc-out { right: 4%; }
  .dots { display: none; }
  .flow, .spark { display: none; }
  .play { top: 50%; }
  .video-caption { bottom: 23%; }
  .video-soon { bottom: 14.5%; font-size: 0.8125rem; }
  .video-bar { height: 13%; }
  .cta-row .btn { width: 100%; }
  .card { padding: 20px; }
  .window-body { grid-template-columns: 1fr; }
  .side { display: none; }
}
@media (max-width: 420px) {
  .nav .btn-sm { display: none; }
  .brand { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
