:root {
  --bg: #0c0a08;
  --panel: #14110d;
  --panel-2: #1b1712;
  --line: #2a241b;
  --line-2: #3a3226;
  --text: #efe7d8;
  --muted: #a89d89;
  --dim: #857a66;
  --gold: #d2ab62;
  --gold-hi: #e9c987;
  --red: #d9624f;
  --display: "Google Sans", "Helvetica Neue", Arial, sans-serif;
  --font: "Google Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "Google Sans Code", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 110px; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background: transparent;
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, dl, dd, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; text-wrap: balance; letter-spacing: -0.03em; }
h1 { font-size: clamp(44px, 7vw, 88px); line-height: 1; font-weight: 700; letter-spacing: -0.045em; }
h2 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.05; }
h3 { font-size: 20px; line-height: 1.2; letter-spacing: -0.015em; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.accent { color: var(--gold); }
.lead { color: var(--muted); font-size: 19px; max-width: 52ch; }

#silk { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; filter: blur(10px); opacity: .55; }
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .6;
  background: 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%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .7 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 15px/1 var(--font);
  padding: 15px 22px; border-radius: 4px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-gold { background: var(--gold); color: #16110a; }
.btn-gold:hover { background: var(--gold-hi); }
.btn-line, .btn-glass { border-color: var(--line-2); color: var(--text); background: rgba(12, 10, 8, .4); }
.btn-line:hover, .btn-glass:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-sm { padding: 11px 16px; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.is-closed { opacity: .3; pointer-events: none; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.link:hover { color: var(--gold-hi); text-decoration-color: currentColor; }
.text-link { font-weight: 600; color: var(--gold); white-space: nowrap; }
.text-link:hover { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 4px; }

body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; padding-top: 14px; }
.nav {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  max-width: 1040px; margin-inline: auto;
  padding: 8px 10px 8px 16px;
  background: rgba(16, 13, 10, .82);
  border: 1px solid var(--line-2); border-radius: 8px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 10px; font: 700 17px/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 2px; margin-inline: auto; }
@media (min-width: 861px) {

  .nav .brand { flex: 1 1 0; }
  .nav::after { content: ""; flex: 1 1 0; }
}
.nav-links a { position: relative; padding: 9px 14px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: var(--gold); }
.menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; place-items: center; border-radius: 6px; border: 1px solid var(--line-2); background: none; color: var(--text); cursor: pointer; }
.menu-btn .icon-close { display: none; }
.menu-open .menu-btn .icon-close { display: block; }
.menu-open .menu-btn .icon-menu { display: none; }

.notice {
  display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%;
  margin: 10px auto 0; padding: 6px 6px 6px 14px;
  background: rgba(16, 13, 10, .82); border: 1px solid var(--line); border-radius: 6px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 14.5px; color: var(--muted);
}
.notice-dot { flex: none; display: grid; place-items: center; }
.notice-dot i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.notice.closed .notice-dot i { background: var(--red); }
.notice-text { min-width: 0; }
.notice-cta { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; color: var(--gold); font-weight: 600; font-size: 14px; }
.notice-cta:hover { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.notice-x { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border: 0; background: none; color: var(--dim); cursor: pointer; border-radius: 4px; }
.notice-x:hover { color: var(--text); }

.glass { background: rgba(20, 17, 13, .86); border: 1px solid var(--line); border-radius: 8px; }
.section { padding-block: 112px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 48px; flex-wrap: wrap; margin-bottom: 36px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.sec-head p { color: var(--muted); font-size: 16px; max-width: 44ch; }

.hero { padding-block: 84px 64px; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.hero .lead strong { color: var(--text); font-weight: 600; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 32px; font-family: var(--mono); font-size: 13.5px; color: var(--muted); }
.facts div { display: flex; align-items: baseline; gap: 8px; }
.facts dt { color: var(--gold); font-weight: 500; }

.marquee {
  position: relative; overflow: hidden; padding-block: 14px;
  border-block: 1px solid var(--line-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.mq-track { display: flex; width: max-content; animation: mq 40s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-group { display: flex; align-items: center; flex: none; }
.mq-item { padding-inline: 32px; font: 500 clamp(28px, 3.6vw, 44px)/1.15 var(--display); letter-spacing: -0.03em; color: var(--text); white-space: nowrap; }
.mq-sep { flex: none; width: 14px; height: 14px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-2); border-radius: 8px; background: rgba(20, 17, 13, .86); overflow: hidden; }
.plan { position: relative; padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; }
.plan + .plan { border-left: 1px solid var(--line-2); }
.plan.featured { background: var(--panel-2); box-shadow: inset 0 3px 0 var(--gold); }
.flag { font-family: var(--mono); font-size: 12.5px; color: var(--gold); }
.plan h3 { font-size: 26px; }
.plan .per { color: var(--muted); font-size: 15.5px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 8px; font-family: var(--mono); color: var(--muted); font-size: 15px; }
.price b { font: 700 54px/1 var(--display); letter-spacing: -0.04em; color: var(--text); font-variant-numeric: tabular-nums; }
.featured .price b { color: var(--gold); }
.plan ul { flex: 1; display: flex; flex-direction: column; margin: 6px 0 22px; border-top: 1px solid var(--line); }
.plan li { padding: 9px 0 9px 20px; border-bottom: 1px solid var(--line); font-size: 15.5px; color: #ddd3c2; position: relative; }
.plan li::before { content: "–"; position: absolute; left: 0; color: var(--gold); }
.plan .btn { width: 100%; }
.price-note { margin-top: 16px; color: var(--dim); font-size: 14.5px; }

.make { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.make li { display: flex; flex-direction: column; gap: 10px; }
.icon-chip { color: var(--gold); display: block; }
.make p { color: var(--muted); font-size: 15.5px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(step); font: 700 44px/1 var(--display); letter-spacing: -0.04em; color: var(--gold); }
.steps p { color: var(--muted); font-size: 15.5px; }

.join {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
  padding-block: 48px; margin-block: 112px 64px;
  border-block: 1px solid var(--line-2);
}
.join h2 { font-size: clamp(30px, 4vw, 48px); }
.join p { color: var(--muted); margin-top: 8px; }

.rating { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 16px; }
.rating b { color: var(--text); font: 700 26px/1 var(--display); letter-spacing: -0.03em; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }
.stars .off { color: var(--line-2); }
.rating .stars svg { width: 19px; height: 19px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 4px;
  font: 500 14px/1 var(--font); color: var(--muted);
  background: none; border: 1px solid var(--line-2); cursor: pointer;
  transition: color .15s, border-color .15s;
}
.chip:hover { color: var(--text); border-color: var(--muted); }
.chip[aria-pressed="true"] { color: var(--bg); background: var(--gold); border-color: var(--gold); }
.chip em { font-style: normal; font-family: var(--mono); font-size: 12.5px; opacity: .75; }
.review-grid { columns: 3 300px; column-gap: 20px; }
.review { break-inside: avoid; margin-bottom: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.review .stars { order: 1; }
.review blockquote { order: 2; color: var(--text); font-size: 17px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.review-who { order: 3; display: flex; align-items: center; gap: 10px; min-width: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.review-meta { order: 4; color: var(--dim); font: 400 12.5px/1.4 var(--mono); margin-top: -6px; }
.avatar { flex: none; width: 34px; height: 34px; border-radius: 4px; display: grid; place-items: center; font: 700 15px/1 var(--display); color: var(--gold); background: var(--panel-2); border: 1px solid var(--line-2); text-transform: uppercase; }
.review-who div { min-width: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.review-who b { font-weight: 600; overflow-wrap: anywhere; }
.review-who small { color: var(--dim); font-size: 14px; overflow-wrap: anywhere; }
.home-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.home-reviews .review { margin: 0; }

.page { padding-block: 72px 100px; display: flex; flex-direction: column; gap: 28px; }
.page-head { display: flex; flex-direction: column; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--line-2); }
.empty { grid-column: 1 / -1; padding: 32px 0; color: var(--muted); }

.work-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.work { padding: 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; background: none; border: 0; }
.work-img { aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); margin-bottom: 10px; }
.work-img img { width: 100%; height: 100%; object-fit: contain; }
.work-tag { color: var(--gold); font: 400 12.5px/1.4 var(--mono); }
.work h3 { font-size: 20px; }
.work p { color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }

.terms { max-width: 780px; padding: 0; background: none; border: 0; display: flex; flex-direction: column; gap: 32px; }
.terms > p { font-size: 18px; color: var(--muted); }
.terms section { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 6px 0; }
.terms h2 { grid-column: 1 / -1; font-size: 24px; display: grid; grid-template-columns: 56px 1fr; align-items: baseline; }
.terms h2 span { color: var(--gold); font: 400 14px/1 var(--mono); }
.terms ul { grid-column: 2; display: flex; flex-direction: column; gap: 8px; }
.terms li { color: #d9cfbd; font-size: 16.5px; position: relative; padding-left: 18px; }
.terms li::before { content: "–"; position: absolute; left: 0; color: var(--gold); }
.updated { color: var(--dim); font: 400 13.5px/1.4 var(--mono); }

.admin { max-width: 820px; }
.admin-tools { display: flex; flex-direction: column; gap: 18px; }
.card { padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.card h2 { font-size: 24px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.note { color: var(--muted); font-size: 14.5px; min-height: 1.3em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
label.f { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 600; color: var(--muted); min-width: 0; }
.f input, .f select, .f textarea {
  font: 400 16px/1.4 var(--font); color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 4px; padding: 11px 12px; width: 100%;
}
.f select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d2ab62' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.f input[type=file] { padding: 9px; }
.f input[type=date] { color-scheme: dark; }
.f textarea { min-height: 100px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--gold); }
.preview { max-width: 100%; max-height: 220px; object-fit: contain; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); justify-self: start; }
.switch { position: relative; width: 52px; height: 30px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); cursor: pointer; flex: none; transition: background-color .15s, border-color .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--dim); transition: transform .15s, background-color .15s; }
.switch[aria-checked="true"] { background: var(--gold); border-color: var(--gold); }
.switch[aria-checked="true"]::after { transform: translateX(22px); background: var(--bg); }
.switch:disabled { opacity: .5; cursor: default; }
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-list { display: flex; flex-direction: column; }
.admin-item { display: flex; align-items: center; gap: 14px; padding-block: 12px; border-top: 1px solid var(--line); }
.admin-item:first-child { border-top: 0; }
.admin-item > div { flex: 1; min-width: 0; }
.admin-item b { font-weight: 600; display: block; overflow-wrap: anywhere; }
.admin-item small { color: var(--dim); font-size: 13.5px; }
.thumb { width: 46px; height: 46px; border-radius: 4px; object-fit: cover; background: var(--bg); border: 1px solid var(--line); flex: none; }
.admin-item .avatar { width: 46px; height: 46px; }
.del { background: none; border: 1px solid var(--line-2); color: var(--muted); border-radius: 4px; padding: 8px 12px; font: 500 13.5px/1 var(--font); cursor: pointer; flex: none; }
.del:hover, .del.confirm { color: var(--red); border-color: var(--red); }
.admin .empty { padding: 12px 0; }

.footer { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding-block: 28px 40px; border-top: 1px solid var(--line-2); color: var(--dim); font-size: 14.5px; }
.footer .brand { color: var(--muted); font-size: 15px; }
.footer .brand img { width: 22px; height: 22px; }
.footer nav { margin-left: auto; display: flex; gap: 20px; }
.footer nav a:hover { color: var(--gold-hi); }

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .d1 { animation-delay: .05s; } .d2 { animation-delay: .1s; } .d3 { animation-delay: .15s; } .d4 { animation-delay: .2s; }
  @keyframes rise { from { transform: translateY(10px); opacity: .001; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .mq-track { animation: none; }
}

@media (max-width: 980px) {
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line-2); }
  .home-reviews { grid-template-columns: 1fr; }
  .make, .steps { grid-template-columns: 1fr 1fr; }
  .work-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { flex-wrap: wrap; }
  .brand { margin-right: auto; }
  .menu-btn { display: grid; order: 3; margin-left: auto; }
  .nav-links {
    order: 4; width: 100%; margin: 4px 0 0; flex-direction: column; gap: 0;
    padding-top: 6px; border-top: 1px solid var(--line);
    display: none;
  }
  .menu-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 4px; font-size: 17px; }
  .nav-links a[aria-current="page"]::after { left: 4px; right: auto; width: 24px; bottom: 6px; }
}
@media (max-width: 620px) {
  .hero { padding-block: 52px 44px; }
  .section { padding-top: 84px; }
  .make, .steps, .work-list, .form-grid { grid-template-columns: 1fr; }
  .make, .steps { gap: 28px; }
  .join { margin-top: 84px; padding-block: 36px; }
  .notice { font-size: 13.5px; gap: 8px; }
  .notice-cta { display: none; }
  .footer nav { margin-left: 0; }
  .lead { font-size: 17px; }
  .mq-item { padding-inline: 22px; }
  .terms section, .terms h2 { grid-template-columns: 38px minmax(0, 1fr); }
}