/* mykytasoima.cc — shared styles
   Design system: "Block-Tech Dynamic" (see Claude Design DESIGN.md).
   Fonts: Hanken Grotesk (display) / Inter (body) / JetBrains Mono (mono). */

:root {
  --bg: #11131c;
  --bg-footer: #0c0e17;
  --card: #1C1F2B;
  --card-low: #191b24;
  --border: #262B3D;
  --border-soft: #1d1f29;
  --border-hover: #3f4852;
  --border-float: #32343e;
  --text: #e1e1ef;
  --text-dim: #bec7d4;
  --text-muted: #9BA3AF;
  --text-faint: #89919d;
  --mint: #00e1ab;
  --mint-ink: #003828;
  --blue: #99cbff;
  --violet: #d1bcff;
  --accent: #00a2ff;
  --accent-strong: #0062b3;

  --font-display: 'Hanken Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
::selection { background: var(--mint); color: var(--mint-ink); }

@keyframes msfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes mspulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.8); } }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: rgba(17, 19, 28, .72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 12px clamp(20px, 5vw, 24px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 9px; object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
  letter-spacing: -.01em; color: var(--text);
}
.brand-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-muted); margin-top: 5px;
}
.nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-link {
  padding: 8px 12px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .03em;
  color: var(--text-dim); transition: background .14s, color .14s;
}
.nav-link:hover { background: rgba(255, 255, 255, .05); color: var(--text); }

/* ---------- Buttons ---------- */
.btn-nav {
  display: inline-flex; align-items: center; gap: 7px; margin-left: 6px;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 13.5px;
  padding: 10px 16px; border-radius: 8px;
  box-shadow: 0 4px 0 var(--accent-strong);
  transition: transform .07s, box-shadow .07s, filter .15s;
}
.btn-nav:hover { filter: brightness(1.07); }
.btn-nav:active { transform: translateY(4px); box-shadow: 0 0 0 var(--accent-strong); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
  padding: 15px 26px; border-radius: 8px;
  box-shadow: 0 5px 0 var(--accent-strong);
  transition: transform .07s ease, box-shadow .07s ease, filter .15s ease;
}
.btn-primary:hover { filter: brightness(1.07); }
.btn-primary:active { transform: translateY(5px); box-shadow: 0 0 0 var(--accent-strong); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: var(--violet);
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
  padding: 13px 24px; border: 2px solid rgba(209, 188, 255, .42); border-radius: 8px;
  box-shadow: 0 5px 0 rgba(91, 0, 205, .28);
  transition: transform .07s ease, box-shadow .07s ease, background .15s ease;
}
.btn-outline:hover { background: rgba(209, 188, 255, .09); }
.btn-outline:active { transform: translateY(5px); box-shadow: 0 0 0 rgba(91, 0, 205, .28); }

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--mint); margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--mint); display: inline-block; }
.kicker {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--mint); margin-bottom: 18px;
}
.kicker--legal { margin-bottom: 16px; }

/* ---------- Hero ---------- */
.hero {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(52px, 9vw, 104px) clamp(20px, 5vw, 24px) clamp(60px, 9vw, 116px);
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 72px);
}
.hero-copy { flex: 1 1 400px; min-width: 0; }
.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(38px, 6.6vw, 66px); line-height: 1.04; letter-spacing: -.03em;
  margin: 0 0 24px; color: var(--text); text-wrap: balance;
}
.hero-lead {
  font-size: clamp(17px, 2vw, 19px); line-height: 1.6; color: var(--text-dim);
  max-width: 560px; margin: 0 0 28px;
}
.status {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--card-low); border: 1px solid var(--border); border-radius: 6px;
  padding: 9px 14px; margin-bottom: 28px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--text-dim);
}
.status-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 10px var(--mint); animation: mspulse 2.4s ease-in-out infinite;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-art { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.hero-art-inner { position: relative; width: min(360px, 82vw); aspect-ratio: 1; }
.hero-art-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 28px; object-fit: cover;
  box-shadow: 0 18px 0 rgba(0, 0, 0, .32), inset 0 2px 0 rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .06);
}
.float {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--border-float); border-radius: 8px;
  padding: 9px 13px; box-shadow: 0 5px 0 rgba(0, 0, 0, .4);
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; color: var(--text);
  white-space: nowrap;
}
.float--ios { top: -16px; right: -12px; animation: msfloat 5s ease-in-out infinite; }
.float--design { bottom: 40px; left: -24px; animation: msfloat 6s ease-in-out infinite .8s; }
.float--support { bottom: -14px; right: 26px; animation: msfloat 5.5s ease-in-out infinite .4s; }
.float-dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-mint { background: var(--mint); }
.dot-violet { background: var(--violet); }
.dot-blue { background: var(--blue); }

/* ---------- Sections ---------- */
.section { max-width: 1200px; margin: 0 auto; scroll-margin-top: 88px; }
.section--pad { padding: clamp(52px, 8vw, 104px) clamp(20px, 5vw, 24px); }
.section--divide { border-top: 1px solid var(--border-soft); }
.section--legal { padding: 0 clamp(20px, 5vw, 24px) clamp(56px, 9vw, 100px); }

.h2-about {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; letter-spacing: -.02em;
  margin: 0 0 22px; color: var(--text);
}
.h2-work {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; letter-spacing: -.02em;
  margin: 0 0 18px; color: var(--text);
}
.h2-contact {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 4vw, 44px); line-height: 1.12; letter-spacing: -.02em;
  margin: 0 0 16px; color: var(--text);
}
.h2-legal {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(24px, 3.2vw, 34px); line-height: 1.15; letter-spacing: -.02em;
  margin: 0; color: var(--text);
}

/* ---------- About ---------- */
.about-grid { display: flex; flex-wrap: wrap; gap: clamp(36px, 6vw, 72px); }
.about-copy { flex: 1 1 380px; min-width: 0; }
.about-side { flex: 1 1 300px; min-width: 0; }
.lead-p { font-size: clamp(16px, 1.8vw, 18px); line-height: 1.65; color: var(--text-dim); margin: 0 0 18px; }
.muted-p { font-size: 16px; line-height: 1.65; color: var(--text-muted); margin: 0; }
.snapshot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.snapshot {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.tag {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em;
  color: var(--mint); text-transform: uppercase; margin-bottom: 12px;
}
.snapshot-value { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--text); }
.snapshot-link { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--blue); word-break: break-all; }
.snapshot-link:hover { text-decoration: underline; }

/* ---------- Work ---------- */
.work-lead { font-size: clamp(16px, 1.8vw, 18px); line-height: 1.6; color: var(--text-dim); max-width: 620px; margin: 0; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 44px; }
.card-lift {
  background: var(--card); border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 0 rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .08);
  border-color: var(--border-hover);
}
.work-card { border-radius: 16px; padding: 30px; }
.card-num { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--mint); margin-bottom: 18px; }
.work-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.2; margin: 0 0 12px; color: var(--text); }
.work-card p { font-size: 15px; line-height: 1.6; color: var(--text-dim); margin: 0; }

/* ---------- Contact ---------- */
.contact-card {
  background: linear-gradient(150deg, var(--card), var(--card-low));
  border: 1px solid var(--border); border-radius: 20px;
  padding: clamp(32px, 5vw, 56px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  position: relative; overflow: hidden;
}
.contact-glow {
  position: absolute; top: -40%; right: -10%; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 162, 255, .16), transparent 65%);
  pointer-events: none;
}
.contact-inner { position: relative; }
.contact-lead { font-size: clamp(16px, 1.8vw, 18px); line-height: 1.6; color: var(--text-dim); max-width: 560px; margin: 0 0 8px; }
.contact-email {
  display: inline-block; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(24px, 4vw, 40px); color: var(--blue); letter-spacing: -.02em;
  margin: 10px 0 8px; word-break: break-word;
}
.contact-email:hover { text-decoration: underline; }
.link-support { font-family: var(--font-mono); font-size: 13px; color: var(--text-dim); letter-spacing: .02em; }
.link-support:hover { color: var(--text); }

/* ---------- Legal ---------- */
.legal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 36px; }
.legal-card { display: flex; flex-direction: column; gap: 12px; border-radius: 16px; padding: 28px; }
.legal-num { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--mint); }
.legal-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 20px; margin: 0; color: var(--text); }
.legal-card p { font-size: 14.5px; line-height: 1.55; color: var(--text-dim); margin: 0; flex: 1; }
.legal-open { font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; color: var(--blue); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-footer); }
.footer-top {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 24px);
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between;
}
.footer-brand { flex: 1 1 240px; }
.footer-brand-row { display: flex; align-items: center; gap: 11px; }
.footer-brand-name { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--text); }
.footer-tagline { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: .06em; margin: 16px 0 0; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px; flex: 1 1 420px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; min-width: 110px; }
.footer-col-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 3px; }
.foot-link { font-size: 14px; color: var(--text-dim); }
.foot-link:hover { color: var(--text); }
.foot-link--break { word-break: break-all; }
.footer-bottom { border-top: 1px solid var(--border-soft); }
.footer-bottom-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 20px clamp(20px, 5vw, 24px);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted);
}
.foot-link-dim { color: var(--text-muted); }
.foot-link-dim:hover { color: var(--text-dim); }

/* =========================================================
   Sub-pages (privacy / terms / support)
   ========================================================= */

.nav-link--active { color: var(--text); background: rgba(255, 255, 255, .05); }

/* ---------- Document header ---------- */
.doc-header {
  max-width: 880px; margin: 0 auto;
  padding: clamp(44px, 7vw, 84px) clamp(20px, 5vw, 24px) clamp(24px, 4vw, 40px);
}
.doc-main {
  max-width: 880px; margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 24px) clamp(56px, 9vw, 100px);
}
.doc-header--wide, .doc-main--wide { max-width: 960px; }

.back-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
  color: var(--text-muted); margin-bottom: 26px;
}
.back-link:hover { color: var(--text-dim); }
.doc-kicker {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--mint); margin-bottom: 16px;
}
.doc-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(34px, 6.4vw, 58px); line-height: 1.05; letter-spacing: -.03em;
  margin: 0 0 16px; color: var(--text);
}
.doc-updated { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); letter-spacing: .04em; }
.doc-intro {
  font-size: clamp(16px, 1.9vw, 18px); line-height: 1.7; color: var(--text-dim);
  max-width: 660px; margin: 24px 0 0;
}
.doc-intro--flush { max-width: 640px; margin: 0; }

/* ---------- Section tabs (Privacy / Terms / Support) ---------- */
.doc-tabs {
  display: inline-flex; gap: 4px;
  background: var(--card-low); border: 1px solid var(--border); border-radius: 10px;
  padding: 5px; margin-top: 28px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 700;
}
.doc-tab { padding: 8px 16px; border-radius: 7px; color: var(--text-dim); }
.doc-tab:hover { color: var(--text); }
.doc-tab--active { padding: 8px 16px; border-radius: 7px; background: var(--accent); color: #fff; }

/* ---------- Numbered legal sections ---------- */
.doc-section { border-top: 1px solid var(--border); padding: 32px 0; display: flex; gap: clamp(14px, 3vw, 26px); }
.doc-num { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--mint); flex: none; min-width: 26px; padding-top: 5px; }
.doc-body { min-width: 0; }
.doc-h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2.6vw, 26px); margin: 0 0 14px; color: var(--text); letter-spacing: -.01em; }
.doc-p { font-size: 16px; line-height: 1.7; color: var(--text-dim); margin: 0; }
.doc-muted { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 16px 0 0; }
.doc-link { color: var(--blue); }
.doc-link:hover { text-decoration: underline; }

.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list--mt { margin-top: 16px; }
.doc-list li { position: relative; padding-left: 24px; margin-bottom: 12px; font-size: 16px; line-height: 1.6; color: var(--text-dim); }
.doc-list li:last-child { margin-bottom: 0; }
.doc-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--mint); }
.doc-list strong { color: var(--text); font-weight: 700; }

/* ---------- Trailing contact card (privacy / terms) ---------- */
.doc-cta {
  margin-top: 40px;
  background: linear-gradient(150deg, var(--card), var(--card-low));
  border: 1px solid var(--border); border-radius: 18px;
  padding: clamp(26px, 4vw, 40px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.doc-cta-kicker { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mint); margin-bottom: 14px; }
.doc-cta-lead { font-size: 16px; line-height: 1.7; color: var(--text-dim); margin: 0 0 10px; }
.doc-cta-email {
  display: inline-block; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(20px, 3vw, 28px); color: var(--blue); letter-spacing: -.01em; word-break: break-word;
}
.doc-cta-email:hover { text-decoration: underline; }
.doc-cta-note { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: .05em; margin: 14px 0 0; }

/* ---------- Support: email hero ---------- */
.support-hero {
  background: linear-gradient(150deg, var(--card), var(--card-low));
  border: 1px solid var(--border); border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  position: relative; overflow: hidden;
}
.support-hero-glow {
  position: absolute; top: -40%; right: -8%; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 162, 255, .16), transparent 65%);
  pointer-events: none;
}
.support-hero-row { position: relative; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.support-hero-kicker { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mint); margin-bottom: 12px; }
.support-hero-email {
  display: inline-block; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(24px, 4vw, 38px); color: var(--blue); letter-spacing: -.02em;
  word-break: break-word; margin-bottom: 8px;
}
.support-hero-email:hover { text-decoration: underline; }
.support-hero-lead { font-size: 15px; line-height: 1.6; color: var(--text-dim); margin: 0; }

/* ---------- Support: help cards + step lists ---------- */
.help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 22px; }
.help-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: clamp(24px, 3vw, 32px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.help-card-label { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--mint); margin-bottom: 16px; }
.help-card-title { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.2; margin: 0 0 8px; color: var(--text); }
.help-card-lead { font-size: 15px; line-height: 1.6; color: var(--text-dim); margin: 0 0 20px; }
.help-note { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 20px 0 0; }

.step-list { list-style: none; padding: 0; margin: 0; }
.step-list li { display: flex; gap: 14px; margin-bottom: 14px; }
.step-list li:last-child { margin-bottom: 0; }
.step-num {
  flex: none; width: 26px; height: 26px; border-radius: 7px;
  background: var(--card-low); border: 1px solid var(--border); color: var(--mint);
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-text { font-size: 15px; line-height: 1.55; color: var(--text-dim); }

.flex-none { flex: none; }

/* ---------- Support: FAQ ---------- */
.faq { margin-top: clamp(48px, 7vw, 80px); }
.faq-kicker { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mint); margin-bottom: 14px; }
.faq-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 20px; color: var(--text); }
.faq-item { border-top: 1px solid var(--border); padding: 24px 0; }
.faq-item--last { border-bottom: 1px solid var(--border); }
.faq-q { font-family: var(--font-display); font-weight: 800; font-size: clamp(17px, 2.2vw, 20px); margin: 0 0 10px; color: var(--text); }
.faq-a { font-size: 16px; line-height: 1.65; color: var(--text-dim); margin: 0; }
