/* =========================================================
   SEOURL — visual system
   ========================================================= */

:root {
  --paper: #f2eee3;
  --paper-deep: #e8e1d1;
  --paper-deeper: #ddd4c0;
  --surface: #fbf8f0;
  --surface-raised: #fffdf7;
  --ink: #141511;
  --ink-soft: #4e4f45;
  --muted: #6e6a5e;
  --line: #d8d1c0;
  --line-strong: #bdb4a1;
  --accent: #f04c2f;
  --accent-deep: #c33418;
  --accent-soft: #ffd9ce;
  --lime: #dff45d;
  --lime-deep: #c8df3d;
  --green: #24684d;
  --green-soft: #dfece2;
  --blue: #263f87;
  --font-sans: "Manrope", "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 24px 55px rgba(20, 21, 17, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.muted {
  color: var(--muted);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 32px;
}

.section {
  padding: 110px 0;
}

/* =========================================================
   Type details
   ========================================================= */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: var(--accent);
  border-radius: 50%;
}

.eyebrow--light {
  color: rgba(242, 238, 227, 0.62);
}

.eyebrow--light .eyebrow-dot {
  background: var(--lime);
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 em,
h2 em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: var(--line-strong);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.text-link:hover {
  color: var(--accent-deep);
  text-decoration-color: var(--accent);
}

/* =========================================================
   Buttons and fields
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-ink {
  background: var(--ink);
  color: var(--surface-raised);
  border-color: var(--ink);
}

.btn-ink:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  background: var(--surface-raised);
  border-color: var(--ink);
}

.btn-lime {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.btn-lime:hover {
  background: var(--surface-raised);
  border-color: var(--surface-raised);
}

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 12px;
}

.btn-large {
  min-height: 55px;
  padding: 0 26px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.btn-submit {
  justify-content: space-between;
  min-height: 56px;
  padding-inline: 20px;
  margin-top: 4px;
}

.btn-submit.is-loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn-submit.is-loading svg {
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn[disabled] {
  opacity: 0.55;
  pointer-events: none;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field label span {
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: lowercase;
}

.url-input,
.slug-input {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 14px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.url-input:focus-within,
.slug-input:focus-within {
  background: var(--surface-raised);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(240, 76, 47, 0.12);
}

.url-input > svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--muted);
}

.url-input input,
.slug-input input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
}

.url-input input::placeholder,
.slug-input input::placeholder,
.text-input::placeholder {
  color: #9a9689;
}

.slug-input {
  gap: 2px;
  padding: 0 14px;
}

.slug-prefix {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: -0.03em;
}

.slug-input input {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
}

.field-hint {
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
}

.field-hint code {
  padding: 1px 4px;
  background: var(--paper-deep);
  border-radius: 3px;
  font-size: 0.95em;
}

.field-hint span {
  font-family: var(--font-mono);
  color: var(--ink-soft);
}

.text-input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  outline: 0;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  font-size: 13.5px;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.text-input:focus {
  background: var(--surface-raised);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(240, 76, 47, 0.12);
}

.textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.6;
}

/* Custom checkbox */
.check-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.check-row:hover {
  border-color: var(--line-strong);
}

.check-row input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.checkbox-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin-top: 1px;
  color: var(--paper);
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.checkbox-box svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.check-row input:checked + .checkbox-box {
  background: var(--ink);
  border-color: var(--ink);
}

.check-row input:checked + .checkbox-box svg {
  opacity: 1;
  transform: scale(1);
}

.check-row input:focus-visible + .checkbox-box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.check-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.check-copy strong {
  font-size: 12.5px;
  line-height: 1.35;
}

.check-copy small {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted);
}

.check-row--compact {
  padding: 10px;
}

.check-row--compact .check-copy small {
  font-size: 10px;
}

/* Status, pills */
.status-ready {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--green);
}

.status-ready i,
.secure-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  background: var(--green);
  border-radius: 50%;
}

.status-ready.is-off {
  color: var(--muted);
}

.status-ready.is-off i {
  background: var(--line-strong);
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill--soft {
  background: var(--green-soft);
  color: var(--green);
}

.pill--off {
  background: var(--paper-deeper);
  color: var(--ink-soft);
}

.pill--line {
  border: 1px solid var(--line);
  color: var(--muted);
}

.pill--seo {
  background: var(--ink);
  color: var(--lime);
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 74px;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  display: block;
  width: 36px;
  height: 36px;
  color: var(--ink);
  transition: transform 0.25s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-6deg);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-word {
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}

.brand-domain {
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 16px;
}

.desktop-nav a {
  position: relative;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--accent);
  transition: right 0.25s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--ink);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.header-login {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.header-login:hover {
  color: var(--accent-deep);
}

.header-user {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 12px 4px 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.header-user:hover {
  border-color: var(--ink);
  background: var(--surface-raised);
}

.header-user img,
.header-user .avatar-fallback {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.header-user-label {
  font-size: 11.5px;
  font-weight: 700;
}

.avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(2.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-2.75px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 32px 22px;
}

.mobile-nav a:not(.btn) {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

.mobile-nav .btn {
  margin-top: 14px;
}

/* =========================================================
   Flash
   ========================================================= */

.flash-wrap {
  position: relative;
  z-index: 55;
  padding-top: 14px;
}

.flash {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 11px 12px 11px 16px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(20, 21, 17, 0.06);
}

.flash--success {
  border-left-color: var(--green);
}

.flash--error {
  border-left-color: var(--accent);
}

.flash--info {
  border-left-color: var(--blue);
}

.flash-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--ink);
}

.flash--success .flash-dot {
  background: var(--green);
}

.flash--error .flash-dot {
  background: var(--accent);
}

.flash--info .flash-dot {
  background: var(--blue);
}

.flash p {
  flex: 1;
  font-size: 12.5px;
  line-height: 1.5;
}

.flash-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: var(--muted);
}

.flash-close:hover {
  background: var(--paper);
  color: var(--ink);
}

.flash-close svg {
  width: 16px;
  height: 16px;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 92px;
  border-bottom: 1px solid var(--line);
  background-image: radial-gradient(rgba(20, 21, 17, 0.12) 0.7px, transparent 0.7px);
  background-size: 21px 21px;
  background-position: -2px -2px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 48%;
  height: 68%;
  border-left: 1px dashed var(--line);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 72px;
  align-items: center;
}

.hero-copy {
  position: relative;
  animation: rise 0.65s var(--ease) both;
}

.hero h1 {
  max-width: 760px;
  margin-top: 25px;
  font-size: clamp(58px, 7.4vw, 95px);
  font-weight: 800;
  line-height: 0.91;
  letter-spacing: -0.07em;
}

.hero h1 em {
  display: inline-block;
  color: var(--accent);
  font-size: 1.045em;
  line-height: 0.8;
}

.hero-lede {
  max-width: 540px;
  margin-top: 27px;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.hero-lede strong {
  font-family: var(--font-mono);
  font-size: 0.86em;
  font-weight: 500;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 31px;
}

.hero-separator {
  width: 1px;
  height: 22px;
  background: var(--line-strong);
}

.hero-auth-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.google-mark {
  width: 14px;
  height: 14px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 570px;
  margin-top: 52px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.hero-stats div {
  padding-right: 18px;
}

.hero-stats div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.hero-stats dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-stats dd {
  margin-top: 3px;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

/* Ticket */
.ticket-scene {
  position: relative;
  width: 100%;
  max-width: 500px;
  justify-self: end;
  animation: rise 0.7s 0.08s var(--ease) both;
}

.ticket-scene::before {
  content: "";
  position: absolute;
  inset: 22px -14px -14px 20px;
  background: var(--lime);
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  transform: rotate(2.2deg);
}

.ticket-sticker {
  position: absolute;
  z-index: 4;
  top: -26px;
  left: -24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  background: var(--accent);
  color: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.2;
  transform: rotate(-9deg);
}

.ticket-sticker span {
  font-family: var(--font-serif);
  font-size: 25px;
  font-style: italic;
  letter-spacing: 0;
  line-height: 1;
}

.shorten-ticket {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.ticket-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 23px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.shorten-form {
  display: flex;
  flex-direction: column;
  gap: 19px;
  padding: 23px;
}

.ticket-perforation {
  position: relative;
  height: 1px;
  margin: 0 -23px;
  border-top: 1px dashed var(--line-strong);
}

.ticket-perforation::before,
.ticket-perforation::after {
  content: "";
  position: absolute;
  top: -9px;
  width: 17px;
  height: 17px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.ticket-perforation::before {
  left: -10px;
}

.ticket-perforation::after {
  right: -10px;
}

.ticket-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 23px 18px;
  border-top: 1px solid var(--line);
}

.ticket-bottom p {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  color: var(--muted);
}

.ticket-bars {
  display: inline-flex;
  gap: 2px;
  height: 15px;
  align-items: stretch;
}

.ticket-bars i {
  display: block;
  width: 1.5px;
  background: var(--ink);
}

.ticket-bars i:nth-child(2n) {
  width: 3px;
}

.ticket-bars i:nth-child(3n) {
  width: 1px;
  opacity: 0.5;
}

.ticket-caption {
  position: relative;
  z-index: 3;
  margin-top: 30px;
  padding-right: 4px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-align: right;
  text-transform: uppercase;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   Signal strip
   ========================================================= */

.signal-strip {
  background: var(--ink);
  color: var(--paper);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.signal-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 76px;
  padding: 22px 25px;
  border-left: 1px solid rgba(242, 238, 227, 0.15);
}

.signal-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.signal-item:last-child {
  padding-right: 0;
}

.signal-num {
  flex: 0 0 auto;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
}

.signal-item p {
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(242, 238, 227, 0.78);
}

/* =========================================================
   Features
   ========================================================= */

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 54px;
}

.section-heading h2 {
  margin-top: 18px;
  font-size: clamp(42px, 5.1vw, 66px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.section-heading h2 em {
  color: var(--accent);
}

.section-aside {
  width: 100%;
  max-width: 380px;
  padding-bottom: 6px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.feature-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.feature-card h3 {
  max-width: 480px;
  font-size: clamp(26px, 2.6vw, 35px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.feature-card > p {
  max-width: 470px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.feature-glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
}

.feature-card--slug {
  grid-column: span 7;
  min-height: 414px;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.feature-card--slug .feature-card-top {
  color: rgba(242, 238, 227, 0.48);
}

.feature-card--slug > p {
  color: rgba(242, 238, 227, 0.65);
}

.slug-showcase {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: auto;
  padding: 18px 19px;
  background: rgba(242, 238, 227, 0.06);
  border: 1px solid rgba(242, 238, 227, 0.16);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.8vw, 21px);
  letter-spacing: -0.04em;
  color: rgba(242, 238, 227, 0.58);
}

.slug-showcase strong {
  color: var(--lime);
  font-weight: 500;
}

.slug-showcase i {
  display: inline-block;
  width: 8px;
  height: 22px;
  margin-left: 5px;
  background: var(--accent);
  animation: blink 1.2s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.slug-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}

.slug-chips span {
  padding: 4px 8px;
  border: 1px solid rgba(242, 238, 227, 0.17);
  border-radius: 100px;
  color: rgba(242, 238, 227, 0.52);
  font-family: var(--font-mono);
  font-size: 9.5px;
}

.feature-card--analytics {
  grid-column: span 5;
  min-height: 414px;
  background: var(--lime);
  border-color: var(--ink);
}

.feature-card--analytics .feature-card-top,
.feature-card--analytics > p {
  color: var(--ink-soft);
}

.mini-label {
  padding: 3px 6px;
  border: 1px solid rgba(20, 21, 17, 0.25);
  border-radius: 3px;
  font-size: 8px;
  letter-spacing: 0.06em;
}

.mini-chart {
  margin-top: auto;
  padding: 16px 17px 13px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 9px;
}

.mini-chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  color: rgba(242, 238, 227, 0.5);
}

.mini-chart-head strong {
  font-size: 10px;
  color: var(--lime);
}

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 102px;
  margin-top: 16px;
  border-bottom: 1px solid rgba(242, 238, 227, 0.12);
}

.mini-bars span {
  flex: 1;
  min-height: 3px;
  background: var(--lime);
  border-radius: 2px 2px 0 0;
  opacity: 0.8;
}

.mini-bars span:nth-child(2n) {
  opacity: 0.45;
}

.mini-bars span:last-child {
  background: var(--accent);
  opacity: 1;
}

.mini-chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: 7px;
  color: rgba(242, 238, 227, 0.35);
}

.feature-card--telegram {
  grid-column: span 5;
  min-height: 428px;
}

.tg-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  background: var(--paper);
  border-radius: 100px;
  font-size: 8px;
  color: var(--ink-soft);
}

.tg-pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.telegram-mock {
  margin-bottom: 26px;
  padding: 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.telegram-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.telegram-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  background: var(--ink);
  color: var(--lime);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 13px;
  font-style: italic;
}

.telegram-head > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.telegram-head strong {
  font-size: 9px;
}

.telegram-head small {
  font-size: 7.5px;
  color: var(--muted);
}

.telegram-bubble {
  width: 92%;
  margin: 12px 0 0 auto;
  padding: 10px 11px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 8px 8px 2px 8px;
  font-size: 8.5px;
  line-height: 1.5;
}

.telegram-bubble b,
.telegram-bubble span,
.telegram-bubble small {
  display: block;
}

.telegram-bubble b {
  margin-bottom: 4px;
  font-size: 9px;
}

.telegram-bubble span {
  color: var(--ink-soft);
}

.telegram-bubble span:nth-of-type(2) {
  color: var(--muted);
}

.telegram-bubble small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 7px;
  text-align: right;
}

.feature-card--telegram h3 {
  font-size: clamp(24px, 2.2vw, 30px);
}

.feature-card--telegram > p,
.feature-card--seo > p {
  font-size: 12.5px;
}

.feature-card--seo {
  grid-column: span 7;
  min-height: 428px;
}

.feature-card--seo h3 {
  max-width: 530px;
}

.search-mock {
  margin-top: auto;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 100px;
}

.search-bar > span {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
}

.search-bar p {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-soft);
}

.search-result {
  padding: 14px 6px 2px;
}

.search-domain {
  display: block;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--green);
}

.search-result strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--blue);
}

.search-result p {
  margin-top: 4px;
  font-size: 9px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* =========================================================
   Steps
   ========================================================= */

.steps-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps-head {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  align-items: end;
  gap: 80px;
}

.steps-head h2 {
  margin-top: 18px;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.steps-head h2 em {
  color: var(--accent);
}

.steps-intro {
  max-width: 430px;
  padding-bottom: 6px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
  border-top: 1px solid var(--line-strong);
}

.step-item {
  position: relative;
  padding: 28px 28px 6px;
  border-left: 1px solid var(--line);
}

.step-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.step-item:last-child {
  padding-right: 0;
}

.step-number {
  display: block;
  margin-bottom: 36px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  color: var(--muted);
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
}

.step-icon svg {
  width: 25px;
  height: 25px;
}

.step-item h3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.step-item p {
  max-width: 310px;
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* =========================================================
   SEO section
   ========================================================= */

.seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 100px;
  align-items: center;
}

.seo-copy h2 {
  margin-top: 18px;
  font-size: clamp(40px, 4.6vw, 59px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.058em;
}

.seo-copy h2 em {
  color: var(--accent);
}

.seo-copy > p {
  max-width: 550px;
  margin-top: 24px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.seo-copy .text-link {
  margin-top: 27px;
}

.checklist-card {
  position: relative;
  padding: 29px;
  background: var(--surface);
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 12px 12px 0 var(--lime);
}

.checklist-card > .mono-label {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.checklist-card ul {
  margin-top: 5px;
}

.checklist-card li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
}

.checklist-card li span {
  flex: 0 0 24px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 400;
  color: var(--muted);
}

.checklist-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
}

.checklist-foot p {
  max-width: 265px;
  font-size: 10px;
  line-height: 1.55;
  color: var(--muted);
  text-align: right;
}

.checklist-foot code {
  color: var(--ink-soft);
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 100px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 112px;
}

.faq-intro h2 {
  margin-top: 18px;
  font-size: clamp(42px, 4.6vw, 58px);
  font-weight: 800;
  line-height: 0.97;
  letter-spacing: -0.058em;
}

.faq-intro h2 em {
  color: var(--accent);
}

.faq-note {
  margin-top: 48px;
  padding-top: 19px;
  border-top: 1px solid var(--line-strong);
}

.faq-note p {
  margin-bottom: 9px;
  font-size: 11.5px;
  color: var(--muted);
}

.faq-item {
  border-top: 1px solid var(--line-strong);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary > span {
  position: relative;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.faq-item summary > span::before,
.faq-item summary > span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.faq-item summary > span::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary > span {
  background: var(--lime);
  border-color: var(--ink);
}

.faq-item[open] summary > span::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  max-width: 650px;
  padding: 0 40px 23px 0;
}

.faq-answer p {
  font-size: 13px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.faq-answer code {
  padding: 1px 4px;
  background: var(--paper-deep);
  border-radius: 3px;
  color: var(--ink);
  font-size: 0.9em;
}

/* =========================================================
   CTA
   ========================================================= */

.cta-section {
  padding-top: 0;
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  overflow: hidden;
  padding: 62px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 20px;
}

.cta-panel::after {
  content: "/";
  position: absolute;
  right: 8%;
  bottom: -95px;
  color: rgba(223, 244, 93, 0.09);
  font-family: var(--font-serif);
  font-size: 380px;
  font-style: italic;
  line-height: 1;
  pointer-events: none;
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.cta-copy h2 {
  margin-top: 22px;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.cta-copy h2 em {
  color: var(--lime);
}

.cta-action {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.cta-action > p {
  max-width: 320px;
  margin-bottom: 23px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(242, 238, 227, 0.63);
}

.cta-fineprint {
  margin-top: 15px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: rgba(242, 238, 227, 0.4);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: 68px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.75fr 0.85fr 1fr;
  gap: 55px;
  padding-bottom: 60px;
}

.brand--footer .brand-mark {
  color: var(--paper);
}

.brand--footer .brand-domain {
  color: rgba(242, 238, 227, 0.45);
}

.footer-brand > p {
  max-width: 310px;
  margin-top: 22px;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(242, 238, 227, 0.55);
}

.footer-place {
  display: inline-block;
  margin-top: 20px;
  padding: 5px 8px;
  border: 1px solid rgba(242, 238, 227, 0.16);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  color: rgba(242, 238, 227, 0.45);
}

.footer-title {
  margin-bottom: 17px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 238, 227, 0.36);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-col a {
  font-size: 12px;
  color: rgba(242, 238, 227, 0.66);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-col--note p {
  font-size: 11px;
  line-height: 1.7;
  color: rgba(242, 238, 227, 0.45);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 19px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(242, 238, 227, 0.13);
}

.footer-bottom p {
  font-size: 10px;
  color: rgba(242, 238, 227, 0.4);
}

.footer-mono {
  font-family: var(--font-mono);
  font-size: 8px !important;
  letter-spacing: 0.09em;
}

/* =========================================================
   Login
   ========================================================= */

.login-main {
  padding: 74px 0 100px;
  background-image: radial-gradient(rgba(20, 21, 17, 0.12) 0.7px, transparent 0.7px);
  background-size: 21px 21px;
}

.login-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 92px;
  align-items: center;
}

.login-editorial h1 {
  max-width: 600px;
  margin-top: 25px;
  font-size: clamp(54px, 6vw, 78px);
  font-weight: 800;
  line-height: 0.91;
  letter-spacing: -0.065em;
}

.login-editorial h1 em {
  color: var(--accent);
}

.login-lede {
  max-width: 500px;
  margin-top: 24px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.login-domain-card {
  max-width: 440px;
  margin-top: 43px;
  padding: 17px 19px 15px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 10px;
  box-shadow: 8px 8px 0 var(--lime);
  transform: rotate(-1deg);
}

.login-domain-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(242, 238, 227, 0.14);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(242, 238, 227, 0.42);
}

.login-domain-url {
  display: flex;
  align-items: baseline;
  padding: 17px 0 13px;
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: -0.04em;
  color: rgba(242, 238, 227, 0.58);
}

.login-domain-url strong {
  color: var(--lime);
  font-weight: 500;
}

.login-domain-url i {
  width: 7px;
  height: 19px;
  margin-left: 4px;
  background: var(--accent);
  animation: blink 1.2s steps(1) infinite;
}

.login-domain-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  border-top: 1px dashed rgba(242, 238, 227, 0.18);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.07em;
  color: rgba(242, 238, 227, 0.34);
}

.login-domain-foot .ticket-bars i {
  background: var(--paper);
}

.login-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 520px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.login-points p {
  padding-right: 19px;
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.login-points p + p {
  padding-left: 19px;
  border-left: 1px solid var(--line);
}

.login-points span {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted);
}

.login-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 12px 12px 0 var(--lime);
}

.login-card h2 {
  margin-top: 17px;
  font-size: 31px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.login-card-lede {
  margin-top: 11px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.google-button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  margin-top: 27px;
  padding: 0 16px;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.2s ease, transform 0.2s var(--ease), background 0.2s ease;
}

.google-button:hover {
  background: #fff;
  border-color: var(--ink);
  transform: translateY(-1px);
}

.google-button > svg:first-child {
  width: 20px;
  height: 20px;
}

.google-arrow {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: var(--muted);
}

.config-notice {
  margin-top: 25px;
  padding: 16px;
  background: var(--accent-soft);
  border: 1px solid rgba(195, 52, 24, 0.2);
  border-radius: 7px;
}

.config-notice-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--accent-deep);
}

.config-notice p {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.config-notice code {
  padding: 1px 3px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 3px;
  color: var(--ink);
}

.dev-login {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.dev-login > p {
  margin-bottom: 12px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted);
}

.dev-login > p span {
  display: inline-block;
  margin-right: 5px;
  padding: 2px 5px;
  background: var(--paper-deep);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 18px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.login-consent {
  font-size: 10.5px;
  line-height: 1.65;
  color: var(--muted);
}

.login-consent a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 21px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
}

.back-link:hover {
  color: var(--accent-deep);
}

/* =========================================================
   Dashboard
   ========================================================= */

.dashboard-main {
  padding-bottom: 10px;
}

.dash-hero {
  padding: 32px 0 42px;
  background: var(--ink);
  color: var(--paper);
}

.dash-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dash-topline .eyebrow {
  color: rgba(242, 238, 227, 0.5);
}

.dash-topline .eyebrow-dot {
  background: var(--lime);
}

.account-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 6px 5px 5px;
  border: 1px solid rgba(242, 238, 227, 0.18);
  border-radius: 100px;
}

.account-chip img,
.account-chip .avatar-fallback {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  object-fit: cover;
}

.account-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.account-copy strong {
  max-width: 170px;
  overflow: hidden;
  font-size: 10.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-copy small {
  max-width: 170px;
  overflow: hidden;
  font-size: 8.5px;
  color: rgba(242, 238, 227, 0.42);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logout-form {
  display: flex;
  margin-left: 3px;
}

.logout-button {
  padding: 5px 9px;
  background: transparent;
  color: rgba(242, 238, 227, 0.55);
  border: 0;
  border-left: 1px solid rgba(242, 238, 227, 0.15);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.logout-button:hover {
  color: var(--lime);
}

.dash-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-top: 48px;
}

.dash-title-row h1 {
  font-size: clamp(46px, 5.8vw, 69px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.dash-title-row h1 em {
  color: var(--lime);
}

.dash-title-row p {
  max-width: 520px;
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(242, 238, 227, 0.55);
}

.dash-title-row .btn {
  flex: 0 0 auto;
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.dash-title-row .btn:hover {
  background: var(--surface-raised);
  border-color: var(--surface-raised);
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 38px;
}

.stat-card {
  position: relative;
  padding: 20px;
  background: rgba(242, 238, 227, 0.045);
  border: 1px solid rgba(242, 238, 227, 0.15);
  border-radius: 10px;
}

.stat-card--accent {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.stat-index {
  position: absolute;
  top: 17px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: rgba(242, 238, 227, 0.3);
}

.stat-card--accent .stat-index {
  color: rgba(20, 21, 17, 0.42);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 238, 227, 0.48);
}

.stat-card--accent .stat-label {
  color: rgba(20, 21, 17, 0.58);
}

.stat-card strong {
  display: block;
  margin-top: 7px;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}

.stat-meta {
  margin-top: 8px;
  font-size: 9.5px;
  line-height: 1.4;
  color: rgba(242, 238, 227, 0.38);
}

.stat-card--accent .stat-meta {
  color: rgba(20, 21, 17, 0.55);
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.45fr);
  gap: 36px;
  align-items: start;
  padding-top: 45px;
  padding-bottom: 100px;
}

.create-column {
  position: sticky;
  top: 96px;
}

.create-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
}

.create-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 23px;
  border-bottom: 1px solid var(--line);
}

.create-card-head h2 {
  margin-top: 5px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.create-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
}

.create-form {
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding: 22px;
}

.create-form .field {
  gap: 6px;
}

.create-form .url-input,
.create-form .slug-input {
  min-height: 50px;
}

.create-form .url-input input,
.create-form .slug-input input {
  height: 46px;
}

.create-form .text-input {
  min-height: 44px;
  padding: 9px 12px;
  font-size: 12.5px;
}

.create-form .textarea {
  min-height: 78px;
}

.create-form .field-hint {
  font-size: 10px;
}

.create-form .btn-submit {
  min-height: 52px;
  margin-top: 1px;
}

.geo-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: 7px;
}

.geo-note svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 1px;
  color: var(--accent);
}

.geo-note p {
  font-size: 9.5px;
  line-height: 1.6;
  color: var(--muted);
}

.geo-note strong {
  color: var(--ink-soft);
  font-weight: 700;
}

.create-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.side-tip {
  margin-top: 16px;
  padding: 4px 0 4px 16px;
  border-left: 2px solid var(--accent);
}

.side-tip p {
  margin-top: 5px;
  font-size: 10.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.links-column {
  min-width: 0;
}

.links-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 20px;
}

.links-head h2 {
  margin-top: 5px;
  font-size: 29px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.links-count {
  margin-top: 4px;
  font-size: 10.5px;
  color: var(--muted);
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 250px;
  flex: 0 0 250px;
}

.search-form svg {
  position: absolute;
  left: 12px;
  width: 15px;
  height: 15px;
  color: var(--muted);
  pointer-events: none;
}

.search-form input {
  width: 100%;
  height: 39px;
  padding: 0 12px 0 35px;
  outline: 0;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-size: 11.5px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.search-form input:focus {
  background: var(--surface-raised);
  border-color: var(--ink);
}

.search-form input::placeholder {
  color: #979386;
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.link-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 66px 92px 26px;
  gap: 13px;
  align-items: center;
  min-height: 84px;
  padding: 14px 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.link-row:hover {
  background: var(--surface-raised);
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 4px 4px 0 var(--paper-deep);
}

.link-row.is-inactive {
  opacity: 0.68;
}

.link-index {
  align-self: start;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted);
}

.link-main {
  min-width: 0;
}

.link-slug {
  display: flex;
  align-items: baseline;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.025em;
}

.link-slug span {
  color: var(--muted);
}

.link-slug strong {
  overflow: hidden;
  font-weight: 500;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-dest {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  font-size: 10.5px;
  color: var(--ink-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}

.link-metric {
  text-align: right;
}

.link-metric strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.link-metric span {
  font-family: var(--font-mono);
  font-size: 7px;
  color: var(--muted);
}

.link-date {
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.4;
  color: var(--muted);
  text-align: right;
}

.row-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.row-arrow svg {
  width: 13px;
  height: 13px;
}

.link-row:hover .row-arrow {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--lime);
}

.links-empty {
  padding: 54px 30px;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  text-align: center;
}

.empty-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 25px;
  font-style: italic;
}

.links-empty h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.links-empty p {
  max-width: 380px;
  margin: 8px auto 20px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 22px;
}

.pagination--center {
  justify-content: center;
}

.page-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.page-button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.page-button.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.page-status {
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: var(--muted);
}

.page-status strong {
  color: var(--ink);
  font-weight: 500;
}

/* =========================================================
   Link detail
   ========================================================= */

.detail-main {
  padding-bottom: 20px;
}

.detail-head {
  padding: 26px 0 39px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--accent-deep);
}

.breadcrumb span[aria-hidden] {
  color: var(--line-strong);
}

.detail-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-top: 25px;
}

.detail-title h1 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1px;
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: clamp(28px, 4.1vw, 47px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.detail-title h1 span {
  color: var(--muted);
}

.detail-title h1 em {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.15em;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.detail-title > p {
  max-width: 690px;
  margin-top: 8px;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.detail-actions {
  display: flex;
  gap: 9px;
  flex: 0 0 auto;
}

.created-banner {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-top: 31px;
  padding: 16px 18px;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 9px;
}

.created-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--ink);
  color: var(--lime);
  border-radius: 50%;
}

.created-check svg {
  width: 19px;
  height: 19px;
}

.created-copy h2 {
  margin-top: 2px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.created-copy > p {
  margin-top: 3px;
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.created-copy strong {
  color: var(--ink);
}

.created-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 5px 5px 12px;
  background: rgba(255, 253, 247, 0.58);
  border: 1px solid rgba(20, 21, 17, 0.24);
  border-radius: 6px;
}

.created-link code {
  font-size: 10.5px;
  white-space: nowrap;
}

.mini-copy {
  height: 29px;
  padding: 0 10px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.03em;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 337px;
  gap: 24px;
  align-items: start;
  padding-top: 36px;
  padding-bottom: 100px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.metric-card {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.metric-card:first-child {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric-card:first-child .metric-label {
  color: rgba(242, 238, 227, 0.44);
}

.metric-card strong {
  display: block;
  margin-top: 9px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.055em;
}

.metric-card span {
  display: block;
  margin-top: 6px;
  font-size: 9px;
  color: var(--muted);
}

.metric-card:first-child span {
  color: rgba(242, 238, 227, 0.38);
}

.panel {
  margin-top: 16px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.panel-head h2 {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.panel-caption {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted);
}

.chart-total {
  text-align: right;
}

.chart-total strong {
  display: block;
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.chart-total span {
  font-family: var(--font-mono);
  font-size: 7.5px;
  color: var(--muted);
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  height: 213px;
  margin-top: 24px;
  padding-top: 8px;
  border-bottom: 1px solid var(--line);
}

.bar-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.bar-count {
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted);
}

.bar-track {
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: 44px;
  flex: 1;
  background: var(--paper);
  border-radius: 3px 3px 0 0;
}

.bar-fill {
  display: block;
  width: 100%;
  min-height: 2px;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
  transition: height 0.4s var(--ease);
}

.bar-fill.is-empty {
  background: var(--line);
}

.bar-label {
  margin-top: 7px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  white-space: nowrap;
  color: var(--muted);
}

.clicks-empty {
  padding: 33px 20px;
  margin-top: 18px;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 7px;
  text-align: center;
}

.clicks-empty p {
  font-size: 13px;
  font-weight: 700;
}

.clicks-empty span {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  color: var(--muted);
}

.click-table-wrap {
  margin-top: 17px;
  overflow-x: auto;
}

.click-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10.5px;
}

.click-table th {
  padding: 8px 6px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  color: var(--muted);
}

.click-table th:first-child,
.click-table td:first-child {
  padding-left: 0;
}

.click-table td {
  padding: 10px 6px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  white-space: nowrap;
}

.click-table tr:last-child td {
  border-bottom: 0;
}

.referer-cell {
  display: inline-block;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.detail-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.side-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.qr-card {
  text-align: center;
}

.qr-frame {
  display: flex;
  justify-content: center;
  margin: 13px auto 10px;
  padding: 9px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.qr-frame img {
  width: 100%;
  max-width: 215px;
  aspect-ratio: 1;
}

.qr-caption {
  font-size: 10px;
  color: var(--muted);
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 9.5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-link:hover {
  color: var(--accent-deep);
}

.info-card > .mono-label {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.detail-list {
  display: flex;
  flex-direction: column;
}

.detail-list > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-list dt {
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.detail-list dd {
  min-width: 0;
  font-size: 10.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  color: var(--ink-soft);
}

.detail-list dd a {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 2px;
}

.detail-list dd a:hover {
  color: var(--accent-deep);
  text-decoration-color: var(--accent);
}

.inline-map {
  display: inline-block;
  margin-left: 4px;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--accent-deep) !important;
}

.id-code {
  display: inline-block;
  padding: 2px 4px;
  background: var(--paper);
  border-radius: 2px;
  font-size: 8px;
  word-break: break-all;
}

.settings-card {
  padding: 0;
  overflow: hidden;
}

.settings-card details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.settings-card details summary::-webkit-details-marker {
  display: none;
}

.settings-card summary strong {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.summary-plus {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.summary-plus::before,
.summary-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.summary-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.2s ease;
}

.settings-card details[open] .summary-plus::after {
  transform: translate(-50%, -50%) rotate(0);
}

.edit-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 20px 20px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
}

.edit-form .field {
  gap: 5px;
}

.edit-form .field label {
  font-size: 8.5px;
}

.edit-form .text-input {
  min-height: 42px;
  padding: 8px 10px;
  font-size: 11.5px;
}

.edit-form .textarea {
  min-height: 72px;
}

.inline-warning {
  padding: 8px 9px;
  background: var(--accent-soft);
  border-radius: 4px;
  font-size: 9px;
  line-height: 1.55;
  color: var(--accent-deep);
}

.manage-card > .mono-label {
  margin-bottom: 12px;
}

.manage-form + .manage-form {
  margin-top: 13px;
}

.manage-form .btn {
  min-height: 38px;
  font-size: 10.5px;
}

.danger-button {
  width: 100%;
  padding: 11px;
  background: transparent;
  color: var(--accent-deep);
  border: 1px solid rgba(195, 52, 24, 0.26);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.danger-button:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

/* =========================================================
   Public preview
   ========================================================= */

.preview-main {
  padding: 27px 0 100px;
}

.preview-breadcrumb {
  margin-bottom: 28px;
}

.preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  gap: 25px;
  align-items: start;
}

.preview-card {
  position: relative;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 10px 10px 0 var(--lime);
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}

.preview-source {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 31px;
}

.domain-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 10px;
  font-family: var(--font-serif);
  font-size: 25px;
  font-style: italic;
  line-height: 1;
}

.preview-source > div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.preview-source span:not(.domain-mark) {
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.preview-source strong {
  font-size: 13px;
  letter-spacing: -0.01em;
}

.preview-card h1 {
  max-width: 760px;
  margin-top: 28px;
  font-size: clamp(34px, 4.7vw, 54px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.preview-desc {
  max-width: 680px;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.preview-action {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.preview-action .btn {
  min-height: 51px;
}

.preview-target {
  margin-top: 30px;
  padding-top: 17px;
  border-top: 1px dashed var(--line-strong);
}

.preview-target code {
  display: block;
  margin-top: 7px;
  padding: 10px 11px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow-wrap: anywhere;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.preview-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.preview-disclaimer svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin-top: 1px;
  color: var(--green);
}

.preview-disclaimer p {
  font-size: 10.5px;
  line-height: 1.65;
  color: var(--muted);
}

.preview-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.preview-qr {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  text-align: center;
}

.preview-qr img {
  width: 100%;
  max-width: 215px;
  margin: 12px auto 0;
  padding: 8px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.preview-facts {
  padding: 5px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.preview-facts > div {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.preview-facts > div:last-child {
  border-bottom: 0;
}

.preview-facts dt {
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.preview-facts dd {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.preview-explore-link {
  padding: 6px 4px;
  font-size: 11px;
}

.preview-about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  margin-top: 75px;
  padding-top: 46px;
  border-top: 1px solid var(--line-strong);
}

.preview-about h2 {
  margin-top: 16px;
  font-size: clamp(34px, 4vw, 49px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.preview-about h2 em {
  color: var(--accent);
}

.preview-about-copy {
  max-width: 600px;
}

.preview-about-copy p {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.preview-about-copy p + p {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

/* =========================================================
   Explore
   ========================================================= */

.explore-main {
  padding-bottom: 95px;
}

.explore-head {
  padding: 31px 0 48px;
  border-bottom: 1px solid var(--line);
}

.explore-title-row {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: end;
  gap: 70px;
  margin-top: 34px;
}

.explore-title-row h1 {
  margin-top: 19px;
  font-size: clamp(54px, 7vw, 85px);
  font-weight: 800;
  line-height: 0.91;
  letter-spacing: -0.065em;
}

.explore-title-row h1 em {
  color: var(--accent);
}

.explore-intro {
  padding-bottom: 4px;
}

.explore-intro p {
  max-width: 430px;
  margin-bottom: 22px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.explore-list-section {
  padding-top: 37px;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.explore-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  transition: transform 0.25s var(--ease), border-color 0.2s ease, box-shadow 0.25s var(--ease), background 0.2s ease;
}

.explore-card:hover {
  background: var(--surface-raised);
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 5px 5px 0 var(--lime);
}

.explore-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.card-number {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted);
}

.domain-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 4px 8px 4px 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 8.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.domain-tag > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  background: var(--ink);
  color: var(--lime);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 9px;
  font-style: italic;
}

.explore-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

.explore-arrow svg {
  width: 12px;
  height: 12px;
}

.explore-card:hover .explore-arrow {
  background: var(--lime);
  color: var(--ink);
}

.explore-card h2 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.17;
  letter-spacing: -0.04em;
}
