/* ExpiryLot — site styles */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/montserrat-latin-ext-800-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/montserrat-latin-800-normal.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;
}
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.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; }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-ext-500-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.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; }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-ext-600-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.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 {
  --ink: #161B22;
  --ink-2: #4C5563;
  --ink-3: #7A8391;
  --green: #0E7C66;
  --green-deep: #0A5F4E;
  --green-tint: #E1F0EB;
  --amber: #B7791F;
  --amber-tint: #F8EED8;
  --red: #B23A2B;
  --red-tint: #F7E3DF;
  --bg: #F2F5F8;
  --paper: #FFFFFF;
  --rule: #D9DFE6;
  --rule-soft: #E8ECF0;
  --display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --text: "Inter", "Segoe UI", Arial, sans-serif;
  --measure: 62ch;
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* Wordmark */
.mark { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); display: inline-flex; align-items: baseline; }
.mark span { color: var(--green); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(242,245,248,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule-soft); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav .lang { border: 1px solid var(--rule); border-radius: 999px; padding: 4px 11px; font-weight: 500; color: var(--ink); }
@media (max-width: 720px) { .nav a:not(.lang) { display: none; } }

/* Buttons */
.btn { display: inline-block; font-weight: 600; font-size: 0.98rem; padding: 12px 20px; border-radius: 8px; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }

/* Hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); margin: 28px 0 32px; max-width: 46ch; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .status { margin-top: 26px; font-size: 0.92rem; color: var(--ink-3); display: flex; align-items: center; gap: 10px; }
.hero .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }

/* Shelf timeline — the hero graphic */
.shelf { margin-top: clamp(40px, 6vw, 72px); background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; padding: clamp(18px, 3vw, 32px); overflow: hidden; }
.shelf-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.shelf-head strong { font-weight: 600; font-size: 0.95rem; }
.shelf-head small { color: var(--ink-3); font-size: 0.85rem; }
.axis { position: relative; height: 26px; border-bottom: 1px solid var(--rule); font-size: 0.78rem; color: var(--ink-3); }
.axis span { position: absolute; bottom: 6px; transform: translateX(-50%); white-space: nowrap; }
.axis span::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 1px; height: 6px; background: var(--rule); }
.axis span:first-child { transform: none; }
.axis span:first-child::after { left: 0; }
.axis .today { color: var(--ink); font-weight: 600; }
.lanes { position: relative; padding-top: 14px; }
.lane { position: relative; height: 38px; }
.lane + .lane { border-top: 1px dashed var(--rule-soft); }
.lot { position: absolute; top: 6px; height: 26px; display: inline-flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 6px; font-size: 0.8rem; font-weight: 500; white-space: nowrap; background: var(--green-tint); color: var(--green-deep); }
.lot i { font-style: normal; font-weight: 400; opacity: 0.8; }
.lot.soon { background: var(--amber-tint); color: #7C5311; }
.lot.gone { background: var(--red-tint); color: #8A2D21; }
.lot.first { box-shadow: 0 0 0 2px var(--green); }
.shelf-foot { margin-top: 16px; display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.85rem; color: var(--ink-2); }
.shelf-foot span { display: inline-flex; align-items: center; gap: 7px; }
.shelf-foot span::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--green-tint); border: 1px solid #BFE0D5; }
.shelf-foot .k-soon::before { background: var(--amber-tint); border-color: #E7CF9B; }
.shelf-foot .k-gone::before { background: var(--red-tint); border-color: #E5B5AC; }
.shelf-foot .k-first::before { background: var(--green-tint); border: 2px solid var(--green); }
.shelf-note { margin-top: 10px; font-size: 0.8rem; color: var(--ink-3); }
@media (max-width: 640px) {
  .lot i { display: none; }
  .axis span:first-child, .axis span:nth-child(3) { display: none; }
}
@media (max-width: 480px) { .hero h1 br { display: none; } }

/* Section scaffolding — spec-sheet layout */
.section { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--rule); }
.section .intro { max-width: 60ch; margin-bottom: clamp(32px, 5vw, 56px); }
.section .intro p { color: var(--ink-2); margin-top: 16px; font-size: 1.05rem; }
.area { display: grid; grid-template-columns: minmax(200px, 280px) 1fr; gap: 24px clamp(32px, 6vw, 96px); padding: 32px 0; border-top: 1px solid var(--rule-soft); }
.area:last-child { border-bottom: 1px solid var(--rule-soft); }
.area h3 { font-size: 1.3rem; }
.area .sub { color: var(--ink-3); font-size: 0.92rem; margin-top: 6px; }
.area ul { list-style: none; margin: 0; padding: 0; max-width: 60ch; }
.area li { padding: 10px 0; border-top: 1px solid var(--rule-soft); }
.area li:first-child { border-top: 0; padding-top: 0; }
.area li strong { font-weight: 600; display: block; }
.area li span { color: var(--ink-2); font-size: 0.97rem; }
@media (max-width: 760px) { .area { grid-template-columns: 1fr; gap: 14px; } }

/* Screenshot slots */
.shot { margin: 0; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; background: var(--paper); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 10px 16px; font-size: 0.85rem; color: var(--ink-3); border-top: 1px solid var(--rule-soft); }
.shot.pending { aspect-ratio: 16 / 9; display: grid; place-items: center; color: var(--ink-3); font-size: 0.9rem; background: repeating-linear-gradient(135deg, #FAFBFC 0 12px, #F2F5F8 12px 24px); }
.shot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
@media (max-width: 760px) { .shot-row { grid-template-columns: 1fr; } }

/* Testing mode + languages — two quiet panels */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; padding: clamp(24px, 3vw, 36px); }
.panel h2 { font-size: 1.5rem; margin-bottom: 14px; }
.panel p { color: var(--ink-2); }
.panel.green { background: var(--ink); color: #fff; border-color: var(--ink); }
.panel.green h2 { color: #fff; }
.panel.green p { color: #C9D1DA; }
.panel.green .n { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; color: #6FD1B8; letter-spacing: -0.03em; display: block; margin-bottom: 8px; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* How it starts */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 16px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 800; font-size: 1.4rem; display: block; margin-bottom: 8px; color: var(--green); }
.steps strong { display: block; font-weight: 600; margin-bottom: 4px; }
.steps span { color: var(--ink-2); font-size: 0.97rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Video slots */
.videos { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-top: 32px; }
.video { border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); overflow: hidden; }
.video .frame { aspect-ratio: 16 / 9; display: grid; place-items: center; color: var(--ink-3); font-size: 0.9rem; background: repeating-linear-gradient(135deg, #FAFBFC 0 12px, #F2F5F8 12px 24px); }
.video video { display: block; width: 100%; height: auto; }
.video p { padding: 12px 16px; font-size: 0.92rem; color: var(--ink-2); border-top: 1px solid var(--rule-soft); }
@media (max-width: 760px) { .videos { grid-template-columns: 1fr; } }

/* Pricing / contact */
.plain { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.plain h2 { margin-bottom: 14px; }
.plain p { color: var(--ink-2); }
.plain a.mail { font-weight: 600; font-size: 1.15rem; }
@media (max-width: 760px) { .plain { grid-template-columns: 1fr; gap: 40px; } }

/* Footer */
.foot { border-top: 1px solid var(--rule); padding: 36px 0 48px; font-size: 0.9rem; color: var(--ink-3); }
.foot .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

/* Legal pages */
.legal { padding: clamp(48px, 7vw, 88px) 0; }
.legal article { max-width: 70ch; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 24px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal .todo { background: var(--amber-tint); border: 1px solid #E7CF9B; border-radius: 8px; padding: 12px 16px; color: #7C5311; font-size: 0.95rem; }

/* Screenshots inside feature areas */
.area .shots { grid-column: 1 / -1; display: grid; gap: 16px; margin-top: 8px; }
.area .shots.two { grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 760px) { .area .shots.two { grid-template-columns: 1fr; } }
