/* Design system shared with kittora.dev */
:root {
  --bg: #0b0b10;
  --bg-2: #101017;
  --panel: #14141c;
  --panel-2: #1a1a24;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .13);
  --line-3: rgba(255, 255, 255, .22);
  --text: #ededf4;
  --muted: #a2a2b6;
  --dim: #6d6d82;
  --accent: #cba6f7;
  --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent);
  --accent-line: color-mix(in srgb, var(--accent) 45%, transparent);
  --ink: #0b0b10;
  --ok: #a6e3a1;
  --warn: #f9e2af;
  --sans: "Geist", "Segoe UI Variable", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Geist Mono", "Cascadia Mono", Consolas, monospace;
  --maxw: 1180px;
  --r: 18px;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --soft: cubic-bezier(.22, 1.2, .36, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--sans); color: var(--text); background: var(--bg);
  line-height: 1.6; font-size: 16px; min-height: 100vh; overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* Fine grid that fades out, plus a very soft grain on top */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 20%, transparent 75%);
  opacity: .55;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--accent); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
section[tabindex="-1"]:focus { outline: none; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.mono { font-family: var(--mono); }
.accent { color: var(--accent); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------------- Floating glass nav ---------------- */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; margin: 0 auto; z-index: 120;
  width: min(calc(100% - 28px), 1080px);
  transition: top .6s var(--soft), width .6s var(--soft);
}
.nav-inner {
  position: relative; display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 8px 0 18px;
  border-radius: 20px; border: 1px solid rgba(255, 255, 255, .10); isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02) 55%, rgba(255, 255, 255, .04)),
    color-mix(in srgb, var(--bg-2) 88%, transparent);
  backdrop-filter: blur(32px) saturate(200%) brightness(1.05);
  -webkit-backdrop-filter: blur(32px) saturate(200%) brightness(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -1px 0 rgba(255, 255, 255, .04),
    0 12px 40px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .25);
  transition: height .5s var(--soft), border-radius .5s var(--soft), box-shadow .3s;
}
.nav.scrolled { top: 8px; width: min(calc(100% - 28px), 980px); }
.nav.scrolled .nav-inner { height: 50px; border-radius: 18px; }
.brand { font-weight: 600; font-size: 17px; letter-spacing: -.02em; margin-right: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 7px 13px; border-radius: 10px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
.nav-actions { display: flex; align-items: center; gap: 6px; margin-left: 6px; }

/* Language dropdown */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 8px 0 11px; border-radius: 10px;
  border: 1px solid var(--line-2); font: 500 12.5px var(--mono); color: var(--text);
  transition: border-color .2s, transform .5s var(--spring);
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--accent-line); }
.lang-btn:active { transform: scale(.94); }
.lang-btn .chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); transition: rotate .3s var(--out); }
.lang-btn[aria-expanded="true"] .chev { rotate: 180deg; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 130; min-width: 150px; padding: 5px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 40px -12px rgba(0, 0, 0, .7);
  transform-origin: top right; animation: pop .35s var(--spring);
}
.lang-menu[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(-4px); } }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 8px 11px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--muted); text-align: left;
}
.lang-menu button:hover, .lang-menu button:focus-visible { background: rgba(255, 255, 255, .07); color: var(--text); outline: none; }
.lang-menu button[aria-checked="true"] { color: var(--text); }
.menu-btn { gap: 6px; padding-left: 10px; font-family: var(--sans); font-size: 13.5px; }
.menu-btn .ico { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; color: var(--accent); }
.panel-menu { min-width: 230px; }
.lang-menu a {
  display: flex; flex-direction: column; gap: 1px; padding: 9px 11px; border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--text); transition: background .15s;
}
.lang-menu a small { font-size: 12.5px; font-weight: 400; color: var(--dim); }
.lang-menu a:hover, .lang-menu a:focus-visible { background: rgba(255, 255, 255, .07); outline: none; }
.lang-menu li + li a { margin-top: 2px; }
.lang-menu button[aria-checked="true"]::after {
  content: ""; width: 9px; height: 5px; margin-top: -3px;
  border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); rotate: -45deg;
}

/* ---------------- Buttons ---------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 14px; font-size: 15px; font-weight: 500; white-space: nowrap;
  border: 1px solid transparent; isolation: isolate; overflow: hidden;
  transition: transform .6s var(--spring), background .25s, border-color .25s, box-shadow .3s, color .25s;
}
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn .arrow { transition: transform .6s var(--spring); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: scale(.95); transition-duration: .15s; }
.btn-primary {
  background: var(--accent); color: var(--ink); font-weight: 600;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 60%, #fff) inset, 0 12px 34px -10px var(--accent);
}
.btn-primary:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 60%, #fff) inset, 0 18px 44px -10px var(--accent); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, .45) 50%, transparent 60%) no-repeat;
  background-size: 250% 100%; background-position: 130% 0; transition: background-position .8s var(--out);
}
.btn-primary:hover::after { background-position: -30% 0; }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: var(--line-3); background: rgba(255, 255, 255, .05); }
.btn-sm { height: 38px; padding: 0 15px; font-size: 14px; border-radius: 11px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }

/* ---------------- Type ---------------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .025); font-size: 13px; color: var(--muted);
}
.kicker .dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.kicker .dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: inherit; opacity: .6; animation: ping 2.2s var(--out) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(3.4); opacity: 0; } }
.label {
  display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12.5px; color: var(--dim);
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 22px;
}
.label b { color: var(--accent); font-weight: 500; }
.label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
h1, h2, h3 { font-weight: 500; letter-spacing: -.035em; line-height: 1.04; }
.display { font-size: clamp(2.7rem, 5.3vw, 4.6rem); margin-bottom: 26px; }
.display .serif { font-size: 1.08em; }
.h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 20ch; text-wrap: balance; }
.h2 .serif { font-size: 1.08em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 46ch; margin-bottom: 36px; }
.sec-head { display: grid; grid-template-columns: 1fr minmax(0, 400px); gap: 24px 60px; align-items: end; margin-bottom: 48px; }
.sec-head p { color: var(--muted); }
.section { padding: 110px 0 0; position: relative; }

/* Entrance animations */
.lines .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.lines .line > span { display: inline-block; animation: rise 1.1s var(--soft) backwards; animation-delay: .12s; }
.lines .line:nth-child(2) > span { animation-delay: .23s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.fade-in { animation: fadeup 1s var(--out) backwards; animation-delay: .4s; }
.fade-in.d1 { animation-delay: .05s; } .fade-in.d2 { animation-delay: .3s; } .fade-in.d3 { animation-delay: .35s; }
.fade-in.d4 { animation-delay: .45s; } .fade-in.d5 { animation-delay: .55s; }
@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 160px 0 90px; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero .kicker { margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 22px; font-size: 13.5px; color: var(--dim); }
.hero-note a { color: var(--muted); border-bottom: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.hero-note a:hover { color: var(--text); border-color: var(--accent); }
.hero-glow {
  position: absolute; z-index: -1; width: 640px; height: 640px; right: -120px; top: 40px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 30%, transparent), transparent);
  filter: blur(20px); opacity: .5; pointer-events: none; animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.12) translate(-20px, 20px); opacity: .38; } }

/* Hero video in a window frame, with a floating card */
.hero-media { position: relative; }
.window {
  border-radius: 16px; border: 1px solid var(--line-2); background: var(--panel); overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .3);
}
.window-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.window-bar span { margin-left: 10px; font-size: 11.5px; color: var(--dim); }
.window .yt { border: 0; border-radius: 0; }
.float-card {
  position: absolute; left: -28px; bottom: -26px; display: flex; flex-direction: column; gap: 2px;
  max-width: min(300px, 80%); padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background: color-mix(in srgb, var(--panel-2) 90%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 20px 50px -16px rgba(0, 0, 0, .8);
}
.float-label { font-size: 11px; color: var(--accent); letter-spacing: .04em; text-transform: uppercase; }
.float-card .title { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------- Videos: YouTube thumbnail, click to play ---------------- */
.yt {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 14px; background: #000; border: 1px solid var(--line);
}
.yt button { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.yt img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--out);
}
.yt button:hover img { transform: scale(1.03); }
.yt .play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #fff;
  background: rgba(11, 11, 16, .5); border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .6s var(--spring), background .2s, color .2s;
}
.yt .play svg { width: 19px; height: 19px; margin-left: 3px; fill: currentColor; }
.yt button:hover .play { transform: scale(1.1); background: var(--accent); color: var(--ink); border-color: transparent; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.grid-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.video-card figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.video-card .title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.more { margin-top: 28px; }
.more a {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted);
  border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color .2s, border-color .2s;
}
.more a:hover { color: var(--text); border-color: var(--accent); }
.more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------- Stats ---------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 30px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.stat .num small { font-size: .45em; color: var(--dim); margin-left: 4px; letter-spacing: 0; }
.stat p:not(.num) { margin-top: 10px; color: var(--muted); font-size: 14px; }

/* ---------------- Plans ---------------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 34px; border-radius: 24px;
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent);
  transition: border-color .4s;
}
.plan:hover { border-color: var(--line-2); }
.plan.featured {
  border-color: var(--accent-line);
  background:
    radial-gradient(500px 220px at 0% 0%, var(--accent-soft), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), transparent);
}
.plan-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan h3 { font-size: 1.35rem; letter-spacing: -.025em; }
.status {
  display: inline-flex; align-items: center; gap: 7px; flex: none; font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em;
  padding: 3px 10px; border-radius: 999px; border: 1px solid currentColor;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.status.dev { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }
.price { margin-top: 26px; font-size: 3.2rem; font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.price small { font-size: .3em; color: var(--dim); margin-left: 6px; letter-spacing: 0; font-weight: 500; }
.price-text { font-size: 2.6rem; letter-spacing: -.01em; color: var(--accent); }
.plan-desc { margin-top: 12px; color: var(--muted); }
.feat { display: grid; gap: 11px; margin: 26px 0 30px; padding-top: 24px; border-top: 1px solid var(--line); flex: 1; }
.feat li { display: flex; gap: 12px; align-items: baseline; color: var(--muted); font-size: 15px; }
.feat li::before { content: ""; width: 14px; height: 1px; background: var(--accent); transform: translateY(-4px); flex: 0 0 auto; }
.plan .btn { width: 100%; }
.note { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--dim); }

/* ---------------- Steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; padding: 26px; border-radius: 22px; border: 1px solid var(--line); background: var(--panel);
  min-height: 200px; display: flex; flex-direction: column;
  transition: border-color .3s, transform .7s var(--spring);
}
.tile:hover { border-color: var(--line-2); transform: translateY(-4px); }
.step-n { font-size: 12.5px; color: var(--accent); }
.tile h3 { margin-top: auto; padding-top: 30px; font-size: 1.15rem; letter-spacing: -.02em; }
.tile p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }

/* ---------------- FAQ ---------------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px 60px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 20px 2px; font-weight: 500; font-size: 16.5px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color .2s;
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 20px var(--mono); color: var(--dim); transition: rotate .4s var(--spring); }
.faq details[open] summary::after { rotate: 45deg; color: var(--accent); }
.faq details p { margin: -4px 2px 22px; color: var(--muted); max-width: 52ch; }

/* ---------------- Closing CTA ---------------- */
.cta-section { padding-bottom: 20px; }
.cta {
  position: relative; overflow: hidden; text-align: center; padding: 80px 24px; border-radius: 28px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(600px 260px at 50% 0%, var(--accent-soft), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), transparent);
}
.cta .h2 { margin: 0 auto; }
.cta p { margin: 14px 0 32px; color: var(--muted); font-size: 1.1rem; }

/* ---------------- Footer ---------------- */
.footer { margin-top: 110px; padding-top: 60px; border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.foot-about p { color: var(--muted); font-size: 14.5px; margin-top: 12px; max-width: 34ch; }
.foot-col h4 { font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.foot-col a { display: block; width: fit-content; padding: 4px 0; color: var(--muted); font-size: 14.5px; transition: color .2s, transform .5s var(--spring); }
.foot-col a:hover { color: var(--text); transform: translateX(4px); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 56px; padding: 22px 0 30px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

/* ---------------- App pages: /pedido and /admin ---------------- */
.dim { color: var(--dim); }
.small { font-size: 13px; }
.break { overflow-wrap: anywhere; }
.app-main { padding-top: 130px; min-height: calc(100vh - 120px); }
.app-head { margin-bottom: 32px; }
.app-head .lede { margin: 14px 0 0; }
.app-footer { margin-top: 80px; padding-top: 0; }
.app-footer .foot-bottom { margin-top: 0; }
.app-footer a { color: var(--muted); transition: color .2s; }
.app-footer a:hover { color: var(--text); }
.panel {
  padding: 28px; border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent), var(--panel);
}
.panel + .panel, .order-grid { margin-top: 20px; }
.panel.narrow { max-width: 520px; }
.panel.center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 56px 28px; }
.panel-title { font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 6px; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--accent); animation: spin .8s linear infinite; margin-bottom: 8px; }
@keyframes spin { to { rotate: 360deg; } }
.alert { margin-bottom: 20px; padding: 12px 16px; border-radius: 12px; border: 1px solid; font-size: 14.5px; }
.alert.error { color: #f5a3b5; border-color: rgba(243, 139, 168, .35); background: rgba(243, 139, 168, .06); }
.alert.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); background: color-mix(in srgb, var(--ok) 6%, transparent); }
.alert.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 35%, transparent); background: color-mix(in srgb, var(--warn) 6%, transparent); }

.form { display: grid; gap: 16px; margin-top: 20px; }
.field { display: grid; gap: 7px; font-size: 13.5px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field input, .field textarea, .field select, .copy-row input {
  width: 100%; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03); color: var(--text); font: 400 15px var(--sans);
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
.field select { appearance: none; cursor: pointer; padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--panel); color: var(--text); }
.field input:focus, .field textarea:focus, .field select:focus, .copy-row input:focus { outline: none; border-color: var(--accent-line); background: rgba(255, 255, 255, .05); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.form .btn { justify-self: start; }
.btn:disabled { opacity: .6; pointer-events: none; }

.order-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.order-code { font-size: 1.5rem; font-weight: 500; letter-spacing: .02em; }
.status.bad { color: #f38ba8; border-color: rgba(243, 139, 168, .35); }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 28px 0 18px; counter-reset: step; }
.timeline li { position: relative; padding-top: 18px; font-size: 13px; color: var(--dim); counter-increment: step; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--line-2); }
.timeline li.done { color: var(--muted); }
.timeline li.done::before { background: color-mix(in srgb, var(--accent) 55%, transparent); }
.timeline li.current { color: var(--text); font-weight: 500; }
.timeline li.current::before { background: var(--accent); box-shadow: 0 0 16px -2px var(--accent); }
.timeline.cancelled li { text-decoration: line-through; }
.status-desc { max-width: 60ch; }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.message { margin-top: 20px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--accent-line); background: var(--accent-soft); }
.message p:last-child { margin-top: 6px; white-space: pre-wrap; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.order-grid .panel + .panel { margin-top: 0; }
.summary, .details-read { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 18px; align-content: start; margin-top: 18px; font-size: 14.5px; }
.summary dt, .details-read dt { color: var(--dim); }
.summary dd, .details-read dd { overflow-wrap: anywhere; white-space: pre-wrap; }
.private-link { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.copy-row { display: flex; gap: 8px; margin-top: 8px; }
.copy-row input { font: 400 12.5px var(--mono); color: var(--muted); padding: 9px 11px; }
.hint { margin-top: 8px; font-size: 12.5px; color: var(--dim); }
.link-btn { margin-top: 20px; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line-2); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.link-btn:hover { color: var(--text); border-color: var(--accent); }

.brand-tag { font-size: 12px; font-weight: 400; margin-left: 6px; }
.admin-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.admin-filters { display: flex; gap: 12px; flex-wrap: wrap; min-width: min(100%, 460px); }
.field.inline { min-width: 170px; }
.field.grow { flex: 1; }
.admin-list { display: grid; gap: 16px; margin-top: 14px; }
.admin-card-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.admin-card-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 32px; }
.admin-card-body .summary { grid-column: 1 / -1; }
.admin-form { margin-top: 18px; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-danger { color: #f5a3b5; border-color: rgba(243, 139, 168, .3); }
.btn-danger:hover { color: #fff; background: rgba(243, 139, 168, .14); border-color: rgba(243, 139, 168, .55); }
.admin-actions .btn-danger { margin-left: auto; }

@media (max-width: 860px) {
  .order-grid, .admin-card-body { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 10px; }
  .timeline li { padding: 0 0 0 18px; }
  .timeline li::before { top: 4px; bottom: 4px; right: auto; width: 4px; height: auto; }
}

/* ---------------- 404 ---------------- */
.notfound { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; }
.notfound h1 { font-size: clamp(3rem, 8vw, 6rem); margin-top: 24px; }
.notfound .lede { margin-bottom: 20px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { max-width: 620px; }
  .float-card { left: 16px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sec-head, .faq-grid { grid-template-columns: 1fr; }
  .grid-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav { width: calc(100% - 20px); top: 10px; }
  .nav-inner { padding-left: 14px; }
  .menu-label { display: none; }
  /* on phones the menu hangs from the nav's right edge so it stays on screen */
  #panel { position: static; }
  .panel-menu { right: 8px; }
  .hero { padding: 116px 0 70px; }
  .section { padding-top: 84px; }
  .grid-videos, .plans, .steps { grid-template-columns: 1fr; }
  .plan { padding: 26px; }
  .stat { padding: 22px 16px; }
  .tile { min-height: 0; }
  .float-card { left: 12px; bottom: -22px; }
  .cta { padding: 56px 20px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
