@font-face {
  font-family: "Orbitron";
  src: url("assets/fonts/Orbitron/orbitron-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Orbitron";
  src: url("assets/fonts/Orbitron/orbitron-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter/Inter-SemiBold.woff2") format("woff2");
  font-weight: 650;
  font-style: normal;
  font-display: swap;
}

:root {
  --beige: #F4EBD7;
  --dark: #3E4A5F;
  --accent: #4CC9B2;
  --ink: #2F3A4F;
  --muted: rgba(62, 74, 95, 0.72);
  --light-muted: rgba(244, 235, 215, 0.78);
  --line: rgba(62, 74, 95, 0.22);
  --line-light: rgba(244, 235, 215, 0.28);
  --shell: min(1120px, calc(100vw - 40px));
  --radius: 0px;
  --font-display: "Orbitron", system-ui, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--beige);
  color: var(--ink);
  font-family: var(--font-text);
  line-height: 1.6;
  font-size: 16px;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--accent);
  color: var(--dark);
  padding: .6rem 1rem;
  z-index: 10;
}
.skip-link:focus { top: 1rem; }

.shell { width: var(--shell); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 235, 215, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(62, 74, 95, .12);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand img { width: 174px; height: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  font-family: var(--font-display);
  font-size: .88rem;
  letter-spacing: .04em;
}
.site-nav a, .header-cta {
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.site-nav a:hover { color: var(--accent); }
.header-cta {
  border: 1px solid var(--dark);
  padding: .54rem .88rem;
  font-family: var(--font-display);
  font-size: .86rem;
}
.header-cta:hover { border-color: var(--accent); background: var(--accent); color: var(--dark); }

.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section-dark {
  background: var(--dark);
  color: var(--beige);
}
.hero { overflow: hidden; padding: clamp(80px, 10vw, 140px) 0; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
}
.eyebrow, .section-kicker {
  margin: 0 0 1.1rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: .86rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-kicker.on-dark { color: var(--accent); }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
}
h1 {
  font-size: clamp(2.7rem, 7.4vw, 6.2rem);
  max-width: 9ch;
}
h2 { font-size: clamp(2.25rem, 5.1vw, 4.9rem); }
h3 { font-size: clamp(1.12rem, 1.65vw, 1.42rem); }
p { margin: 0; }
p + p { margin-top: 1rem; }
.hero-lead {
  color: var(--light-muted);
  max-width: 560px;
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  margin-top: 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2.2rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .78rem 1rem;
  border: 1px solid currentColor;
  font-family: var(--font-display);
  font-size: .9rem;
  letter-spacing: .02em;
}
.btn-accent {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}
.btn-accent:hover { background: transparent; color: var(--accent); }
.btn-ghost { color: var(--beige); border-color: var(--line-light); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-panel { position: relative; min-height: 470px; display: grid; place-items: center; }
.dictionary-card {
  position: relative;
  z-index: 2;
  width: min(440px, 100%);
  background: rgba(244, 235, 215, .96);
  color: var(--dark);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: 0 22px 60px rgba(0,0,0,.18);
}
.dictionary-term {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.1;
  color: var(--dark);
}
.dictionary-meta {
  margin-top: .3rem;
  font-size: .85rem;
  color: var(--muted);
}
.dictionary-root {
  margin-top: 1.4rem;
  color: var(--dark);
}
.dictionary-definition {
  margin-top: 1rem;
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.55;
}
.corner { position: absolute; width: 42px; height: 42px; pointer-events: none; }
.corner::before, .corner::after { content: ""; position: absolute; background: var(--accent); }
.corner::before { width: 100%; height: 3px; }
.corner::after { width: 3px; height: 100%; }
.corner-tl { top: -14px; left: -14px; }
.corner-tl::before, .corner-tl::after { top: 0; left: 0; }
.corner-br { right: -14px; bottom: -14px; }
.corner-br::before { right: 0; bottom: 0; }
.corner-br::after { right: 0; bottom: 0; }
.hero-structure {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(92%, 560px);
  transform: translate(-48%, -48%);
  opacity: .66;
  mix-blend-mode: normal;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: start;
}
.intro-layout h2 { max-width: 11ch; }
.text-column { color: var(--muted); font-size: clamp(1.05rem, 1.35vw, 1.18rem); }
.quiet-line {
  color: var(--dark);
  font-family: var(--font-display);
  line-height: 1.35;
}
.divider { display: flex; justify-content: center; opacity: .9; }
.divider img { width: min(520px, 70vw); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.narrow { max-width: 760px; }
.section-head p { color: var(--muted); margin-top: 1.1rem; max-width: 670px; }
.card-grid { display: grid; gap: 1rem; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative;
  min-height: 230px;
  padding: clamp(1.3rem, 2.5vw, 2rem);
  border: 1px solid rgba(62, 74, 95, .22);
  background: rgba(244, 235, 215, .42);
}
.card::before, .card::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  opacity: .9;
}
.card::before { top: -1px; left: -1px; border-top: 2px solid var(--dark); border-left: 2px solid var(--dark); }
.card::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.card h3 { color: var(--dark); }
.card p { margin-top: 1rem; color: var(--muted); }
.statement { padding: clamp(64px, 8vw, 104px) 0; }
.statement-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  max-width: 980px;
}
.statement-mark {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: clamp(5rem, 10vw, 10rem);
  line-height: .7;
}
.statement h2 { max-width: 13ch; }
.statement p { margin-top: 1.5rem; color: var(--light-muted); max-width: 720px; font-size: 1.08rem; }
.compact-cards .card { min-height: 210px; }
.sticky-head { position: sticky; top: 120px; }
.format-list { display: grid; gap: 1rem; }
.format-item {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 1.6rem 2rem;
  position: relative;
}
.format-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.76rem;
  width: 9px;
  height: 9px;
  border: 2px solid var(--accent);
}
.format-item p { margin-top: .65rem; color: var(--muted); }
.about-section { background: rgba(62, 74, 95, .07); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: clamp(42px, 8vw, 96px);
  align-items: center;
}
.portrait-frame {
  position: relative;
  background: var(--dark);
  padding: 16px;
}
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -18px auto auto -18px;
  width: 46%;
  height: 46%;
  border-top: 10px solid var(--beige);
  border-left: 10px solid var(--beige);
}
.portrait-frame img { aspect-ratio: 4 / 5; object-fit: cover; }
.about-copy p { color: var(--muted); max-width: 680px; }
.about-copy h2 { margin-bottom: 1.3rem; }
.trustline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem;
  margin-top: 1.6rem !important;
  font-family: var(--font-display);
  color: var(--dark) !important;
  font-size: .92rem;
}
.trustline span { width: 42px; height: 2px; background: var(--dark); opacity: .65; }
.value-grid, .price-grid, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .55fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}
.value-grid p:last-child { color: var(--light-muted); font-size: 1.08rem; max-width: 620px; }
.price-section { padding-top: clamp(80px, 10vw, 138px); }
.price-grid > div:first-child p:last-child { color: var(--muted); max-width: 690px; margin-top: 1.2rem; }
.price-card {
  border: 1px solid rgba(62, 74, 95, .28);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.price-card::before, .price-card::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
}
.price-card::before { left: -1px; top: -1px; border-top: 3px solid var(--dark); border-left: 3px solid var(--dark); }
.price-card::after { right: -1px; bottom: -1px; border-right: 3px solid var(--accent); border-bottom: 3px solid var(--accent); }
.price-label { font-family: var(--font-display); color: var(--muted); font-size: .84rem; }
.price { font-family: var(--font-display); color: var(--dark); font-size: clamp(4rem, 7vw, 6.6rem); line-height: 1; margin-top: .6rem; }
.price-note { color: var(--muted); }
.contact-section { background: rgba(62, 74, 95, .07); }
.contact-grid p { color: var(--muted); margin-top: 1rem; max-width: 560px; }
.contact-card {
  position: relative;
  background: var(--dark);
  color: var(--beige);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: grid;
  gap: .75rem;
}
.contact-link {
  display: flex;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-display);
  font-size: clamp(.9rem, 1.2vw, 1rem);
}
.contact-link.primary {
  background: var(--accent);
  color: var(--dark);
  justify-content: center;
  border: 0;
  margin-bottom: .7rem;
}
.site-footer {
  background: var(--dark);
  color: var(--beige);
  padding: 42px 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-end;
}
.footer-logo { width: 170px; margin-bottom: .9rem; }
.site-footer p { color: var(--light-muted); font-size: .9rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; font-family: var(--font-display); font-size: .8rem; }
.site-footer a:hover { color: var(--accent); }

.legal-page .legal-hero { padding: 96px 0 54px; background: var(--dark); color: var(--beige); }
.legal-content { padding: 72px 0; max-width: 850px; }
.legal-content h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); margin-top: 2.2rem; }
.legal-content p { color: var(--muted); }
.legal-content a { color: var(--dark); border-bottom: 1px solid var(--accent); }

.legal-content ul {
  color: var(--muted);
  margin: 1rem 0 0;
  padding-left: 1.35rem;
}
.legal-content li + li { margin-top: .35rem; }
.legal-content h2:first-child { margin-top: 0; }


@media (max-width: 920px) {
  .site-nav { display: none; }
  .header-inner { min-height: 70px; }
  .brand img { width: 150px; }
  .hero-grid, .two-col, .about-grid, .value-grid, .price-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-panel { min-height: 420px; }
  .card-grid.three { grid-template-columns: 1fr; }
  .sticky-head { position: static; }
  .statement-grid { grid-template-columns: 1fr; }
  .statement-mark { margin-bottom: -1rem; }
}

@media (max-width: 620px) {
  :root { --shell: min(100vw - 28px, 1120px); }
  .header-cta { display: none; }
  h1 { font-size: clamp(2.35rem, 16vw, 3.9rem); }
  h2 { font-size: clamp(2.05rem, 10.5vw, 3.25rem); }
  .hero { padding-top: 64px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .dictionary-card { width: calc(100vw - 48px); }
  .hero-panel { min-height: 390px; }
  .hero-structure { opacity: .5; width: 110%; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .trustline { gap: .55rem; }
  .trustline span { width: 28px; }
}
