@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('assets/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('assets/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {

  --coral-100: #FE7263;
  --coral-300: #F5675F;
  --coral-500: #DD4A53;
  --coral-600: #CD384B;
  --coral-800: #A9243A;
  --crimson:   #8A122B;

  --grad-brand: linear-gradient(120deg, #FE7263 0%, #DD4A53 42%, #A9243A 72%, #8A122B 100%);

  --paper:      #FBF7F4;
  --paper-2:    #FFFFFF;
  --paper-alt:  #F5EDE8;
  --ink:        #1C1413;
  --ink-soft:   #4A3D39;
  --ink-muted:  #8A7A73;
  --hairline:   #EADFD8;
  --hairline-2: #E2D4CC;

  --radius:     18px;
  --radius-sm:  12px;
  --wrap:       1120px;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 28px; }

.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark { height: 44px; width: auto; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.32rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 500;
}
.brand-name-sub {
  margin-left: 6px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.62em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-600);
  vertical-align: middle;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--hairline);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }

.nav { display: flex; gap: 30px; }
.nav a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 500;
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1.5px;
  background: var(--grad-brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--hairline-2); border-radius: 999px; background: var(--paper-2); }
.lang-btn {
  appearance: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink-muted);
  background: transparent;
  padding: 6px 11px; border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.is-active { color: #fff; background: var(--coral-600); background-image: var(--grad-brand); }

.hero { position: relative; padding: 96px 0 104px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--paper) 0%,
    var(--paper) 15%,
    color-mix(in srgb, var(--paper) 58%, transparent) 42%,
    transparent 60%);
}

.hero-inner { position: relative; z-index: 1; }
.eyebrow {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--coral-600);
  margin-bottom: 26px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 6.6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 400;
  color: var(--ink);
  max-width: 640px;
  margin-bottom: 28px;
}
.hero-lede {
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 468px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  cursor: pointer; border: 1px solid transparent;
}
.btn-primary {
  color: #fff; background-image: var(--grad-brand);
  background-origin: border-box; background-clip: border-box;
  box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--crimson) 70%, transparent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px color-mix(in srgb, var(--crimson) 80%, transparent); }
.btn-ghost { color: var(--ink); background: var(--paper-2); border-color: var(--hairline-2); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--coral-600); color: var(--coral-600); }

.section { padding: 92px 0; position: relative; }
.section-alt { background: var(--paper-alt); border-block: 1px solid var(--hairline); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-kicker {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--coral-600); margin-bottom: 18px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.08; letter-spacing: -0.025em; color: var(--ink);
  margin-bottom: 20px;
}
.section-intro { font-size: 1.08rem; color: var(--ink-soft); line-height: 1.66; }

.section-lead {
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.7vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.section-lead em, .section-lead i { font-style: italic; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px 26px 32px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background-image: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(28,20,19,0.28); border-color: var(--hairline-2); }
.card:hover::before { transform: scaleX(1); }
.card-num {
  font-family: var(--serif); font-size: 0.9rem; font-weight: 500;
  color: var(--coral-600); margin-bottom: 18px; letter-spacing: 0.02em;
}
.card-title { font-family: var(--serif); font-size: 1.32rem; line-height: 1.15; margin-bottom: 12px; color: var(--ink); }
.card-text { font-size: 0.94rem; color: var(--ink-soft); line-height: 1.6; }

.products { display: grid; grid-template-columns: 1fr; gap: 22px; }
.product {
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 34px 36px;
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(28,20,19,0.24); }
.product-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.product-icon { width: 52px; height: 52px; border-radius: 13px; flex: none; }
.product-name { font-family: var(--serif); font-size: 1.9rem; letter-spacing: -0.02em; color: var(--ink); }
.product-name .tm { font-size: 0.5em; vertical-align: super; color: var(--ink-muted); }
.badge {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.badge-soon { color: var(--ink-soft); background: var(--paper-alt); border: 1px solid var(--hairline-2); }
.product-text { font-size: 1rem; color: var(--ink-soft); line-height: 1.64; margin-bottom: 22px; max-width: 780px; }
.product-link { font-weight: 600; font-size: 0.95rem; color: var(--coral-600); transition: color 0.2s var(--ease); display: inline-flex; gap: 6px; }
.product-link:hover { color: var(--crimson); }
.product-link-muted { color: var(--ink-muted); }
.product-feature {
  display: inline-block; margin-top: 18px;
  font-size: 0.8rem; line-height: 1.5; color: var(--ink-muted);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.product-feature::before { content: ""; display: block; width: 28px; height: 1px; background: var(--hairline-2); margin-bottom: 14px; }
.product-feature:hover { color: var(--coral-600); border-color: color-mix(in srgb, var(--coral-600) 40%, transparent); }

.xp { display: flex; flex-direction: column; gap: 52px; }
.xp-group { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.xp-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted);
}
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 26px 46px; }
.logo-item { display: flex; align-items: center; }
.logo-img { width: auto; display: block; }
.logo-rss { height: 30px; }
.logo-koa { height: 34px; }
.logo-tef { height: 27px; }
.logos-muted .logo-img { filter: grayscale(1); opacity: 0.55; transition: opacity 0.3s var(--ease); }
.logos-muted:hover .logo-img { opacity: 0.85; }
.xp-note { max-width: 640px; font-size: 0.86rem; line-height: 1.6; color: var(--ink-muted); }

.section-prose { padding: 88px 0 96px; }
.prose-inner { max-width: 740px; }
.page-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  line-height: 1.08; letter-spacing: -0.025em; color: var(--ink);
  margin-bottom: 14px;
}
.page-meta { font-size: 0.86rem; color: var(--ink-muted); margin-bottom: 42px; }
.prose p { font-size: 1.02rem; line-height: 1.68; color: var(--ink-soft); margin-bottom: 22px; }
.prose h2 {
  font-family: var(--serif);
  font-size: 1.35rem; line-height: 1.2; color: var(--ink);
  margin-top: 38px; margin-bottom: 14px;
}
.prose a { color: var(--coral-600); border-bottom: 1px solid color-mix(in srgb, var(--coral-600) 40%, transparent); transition: border-color 0.2s var(--ease); overflow-wrap: anywhere; }
.prose a:hover { border-bottom-color: var(--coral-600); }
.email-line { font-size: 1rem; color: var(--ink-soft); margin-top: 6px; }
.email-mask { color: var(--coral-600); border-bottom: 1px solid color-mix(in srgb, var(--coral-600) 40%, transparent); user-select: all; transition: border-color 0.2s var(--ease); }
.email-mask:hover { border-bottom-color: var(--coral-600); }

.section-notfound { text-align: center; padding: 128px 0 144px; }
.notfound-inner { max-width: 620px; }
.section-notfound .section-kicker {
  font-family: var(--serif); font-size: clamp(4.2rem, 8vw, 6.4rem); line-height: 1; letter-spacing: -0.04em;
  color: var(--coral-600); text-transform: none; margin-bottom: 24px;
}
.notfound-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.1; letter-spacing: -0.025em; color: var(--ink);
  margin-bottom: 18px;
}
.notfound-text { font-size: 1.05rem; line-height: 1.6; color: var(--ink-soft); margin-bottom: 56px; }
.notfound-cta { margin-top: 0; }

.section-contact { text-align: center; padding: 104px 0; background: var(--paper-alt); border-top: 1px solid var(--hairline); }
.contact-inner { max-width: 720px; }
.section-contact .section-kicker { margin-bottom: 26px; }
.contact-email {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 400;
  background-image: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  border-bottom: 2px solid color-mix(in srgb, var(--coral-600) 40%, transparent);
  padding-bottom: 3px;
  cursor: pointer;
  user-select: all;
  transition: border-color 0.3s var(--ease);
}
.contact-email:hover { border-color: var(--coral-600); }

.site-footer { background: var(--ink); color: #E9DED9; padding: 64px 0 48px; }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 34px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.site-footer .brand-mark { height: 38px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name-sub { color: var(--coral-100); }
.footer-legal { display: grid; gap: 6px; }
.legal-line { font-size: 0.88rem; color: #C9B9B2; line-height: 1.55; }
.legal-line strong { color: #fff; font-weight: 600; }
.footer-meta {
  display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 18px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-copy { font-size: 0.84rem; color: #A8968E; }
.footer-link { color: #C9B9B2; border-bottom: 1px solid rgba(255,255,255,0.18); transition: color 0.2s var(--ease), border-color 0.2s var(--ease); }
.footer-link:hover { color: #fff; border-bottom-color: rgba(255,255,255,0.5); }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav { display: none; }
  .products { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 80px; }
  .hero-art { opacity: 0.5; object-position: 72% center; }
  .hero-scrim {
    background: linear-gradient(90deg,
      var(--paper) 0%, var(--paper) 30%,
      color-mix(in srgb, var(--paper) 55%, transparent) 66%,
      transparent 100%);
  }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 20px; }
  .header-inner { height: 66px; }
  .brand-name { font-size: 1.15rem; }
  .cards { grid-template-columns: 1fr; }
  .footer-meta { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
