/* FURSOY Mail — product website styles.
   Follows the canonical FURSOY Web Design Standard:
   C:/Projeler/fursoy-vault/website/FURSOY_WEB_GUIDELINES.md
   This site presents dark-first per the surface strategy (guideline §3):
   dark surfaces stay in the ink family, accents in the teal/bright family.
   Alignment notes are marked with "FURSOY alignment:". */

/* ===== Self-hosted FURSOY typefaces (no external requests) ===== */
/* Manrope: variable 200–800, latin + latin-ext subsets */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-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: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-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;
}

/* Space Mono: 400 + 700, latin + latin-ext subsets (labels/kickers only) */
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/space-mono-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: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/space-mono-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: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-mono-bold-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: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-mono-bold-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;
}

/* ===== Tokens — FURSOY alignment ===== */
/* Dark surfaces are shades of the canonical ink family (#0b3334 → #082526);
   accents are the canonical teal/bright pair. */
:root {
  color-scheme: dark;
  --background: #0a1618;        /* FURSOY alignment: ink-family dark */
  --surface: #10282b;           /* FURSOY alignment: ink-family dark */
  --surface-raised: #143236;    /* FURSOY alignment: ink-family dark */
  --border: #2a4649;            /* FURSOY alignment: ink-family dark line */
  --text: #f4f6f8;
  --text-muted: #9bb0b2;        /* FURSOY alignment: teal-gray tint */
  --text-dim: #6f8486;          /* FURSOY alignment: teal-gray tint */
  --accent: #13abb8;            /* FURSOY canonical --teal */
  --accent-bright: #27d2d8;     /* FURSOY canonical --bright */
  --accent-ink: #052526;
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;    /* FURSOY alignment: Manrope primary */
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

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

html {
  min-height: 100%;
  background: var(--background);
  scrollbar-color: rgba(155, 176, 178, 0.18) transparent;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  border-radius: var(--radius-pill, 999px);
  background: rgba(155, 176, 178, 0.18);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(155, 176, 178, 0.34);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 78% 26%, rgba(19, 171, 184, 0.1), transparent 28rem),
    var(--background);
  background-size: 64px 64px, 64px 64px, auto, auto;
  color: var(--text);
}

a {
  color: inherit;
}

/* FURSOY alignment: ~1180px container system with 48px gutter */
.page-shell {
  width: min(100% - 48px, 1180px);
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* FURSOY alignment: bordered navbar character (86px scale) */
.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #dfe4e8;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  border-radius: 9px;
}

.brand b {
  font-weight: 800;
}

/* FURSOY alignment: mono label language for secondary brand text */
.source-link {
  font-family: "Space Mono", monospace;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 200ms ease;
}

.source-link:hover {
  color: var(--accent-bright);
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(56px, 9vw, 128px);
  padding: clamp(64px, 10vh, 116px) 0 96px;
}

/* FURSOY alignment: kicker pattern (mono, uppercase, teal, tracked) */
.hero-app-name {
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-bright);
  font: 700 11px/1.4 "Space Mono", monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-app-name::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(19, 171, 184, 0.11);
}

/* FURSOY alignment: tight negative tracking, near-solid line-height */
h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(62px, 8.4vw, 112px);
  font-weight: 760;
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.hero-tagline {
  max-width: 780px;
  margin: 20px 0 0;
  color: var(--text);
  font-size: clamp(36px, 5.4vw, 72px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-tagline em {
  display: block;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 620;
}

.lead {
  max-width: 620px;
  margin: 36px 0 0;
  color: #a7b0b9;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
  letter-spacing: -0.018em;
}

.actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* FURSOY alignment: button language (bold 13px scale, hover lift ~200ms,
   radius 11 control family) — teal fill is this product's primary variant */
.download-button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow:
    0 16px 42px rgba(19, 171, 184, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition:
    background 200ms ease,
    transform 200ms ease,
    box-shadow 200ms ease;
}

.download-button:hover {
  background: #15858f;
  box-shadow:
    0 19px 48px rgba(19, 171, 184, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.download-button span {
  font-size: 19px;
  line-height: 1;
}

.requirements {
  color: var(--text-dim);
  font-size: 12px;
}

/* FURSOY alignment: product mock card (radius family A, ink-family surface,
   subtle rotation like the reference implementation) */
.notification-demo {
  position: relative;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.028), transparent 48%),
    rgba(16, 40, 43, 0.94);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.34),
    0 0 0 8px rgba(255, 255, 255, 0.012);
  transform: rotate(1.2deg);
}

.notification-demo::before {
  position: absolute;
  inset: -34px -28px auto auto;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(19, 171, 184, 0.24);
  border-radius: 50%;
  content: "";
}

.notification-topline,
.notification-app,
.code-row {
  display: flex;
  align-items: center;
}

.notification-topline {
  justify-content: space-between;
}

.notification-app {
  gap: 10px;
}

.notification-app div {
  display: grid;
  gap: 2px;
}

.notification-app strong {
  font-size: 13px;
}

.notification-app span,
.notification-hint {
  color: var(--text-dim);
  font-size: 11px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 16px var(--accent);
}

.notification-demo > p {
  margin: 28px 0 7px;
  color: var(--text-muted);
  font-size: 12px;
}

.code-row {
  justify-content: space-between;
  gap: 20px;
}

/* FURSOY alignment: code display uses the mono identity font */
.code-row code {
  color: var(--text);
  font-family: "Space Mono", monospace;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* FURSOY alignment: status chip (mono label + control radius) */
.copy-state {
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(19, 171, 184, 0.13);
  color: var(--accent-bright);
  font: 700 11px/1.2 "Space Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.notification-line {
  height: 1px;
  margin: 22px 0 14px;
  background: var(--border);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.facts div {
  min-height: 112px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  border-right: 1px solid var(--border);
}

.facts div:first-child {
  padding-left: 0;
}

.facts div:last-child {
  border-right: 0;
}

.facts strong {
  color: #dce2e7;
  font-size: 14px;
  font-weight: 700;
}

.facts span {
  color: var(--text-dim);
  font-size: 12px;
}

.purpose {
  padding: 72px 0;
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1.55fr);
  gap: 48px;
  border-bottom: 1px solid var(--border);
}

/* FURSOY alignment: kicker labels for section openings */
.purpose-label,
.faq-label {
  margin: 6px 0 0;
  color: var(--accent-bright);
  font: 700 11px/1.4 "Space Mono", monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.purpose-copy {
  max-width: 720px;
}

.purpose h2 {
  margin: 0 0 24px;
  color: #e5e9ec;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.purpose-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.purpose-copy p + p {
  margin-top: 16px;
}

.faq {
  padding: 72px 0;
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1.55fr);
  gap: 48px;
  border-bottom: 1px solid var(--border);
}

.faq-copy {
  max-width: 720px;
}

.faq h2 {
  margin: 0 0 32px;
  color: #e5e9ec;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 200ms ease, background-color 200ms ease;
}

.faq-item[open] {
  background: var(--surface-raised);
  border-color: rgba(19, 171, 184, 0.35);
}

.faq-question {
  padding: 18px 22px;
  color: var(--text);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

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

.faq-question::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--text-dim);
  transition: transform 200ms ease, color 200ms ease;
  margin-left: 12px;
}

.faq-item[open] .faq-question::after {
  content: "−";
  color: var(--accent-bright);
}

.faq-answer {
  padding: 0 22px 20px;
}

.faq-answer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* FURSOY alignment: mono uppercase column headers + teal-tinted footer text */
footer {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--text-dim);
  font-size: 12px;
}

footer nav {
  display: flex;
  gap: 22px;
}

footer a {
  text-underline-offset: 4px;
}

footer a:hover {
  color: var(--accent-bright);
}

.download-button:focus-visible,
.brand:focus-visible,
.source-link:focus-visible,
footer a:focus-visible,
.policy a:focus-visible {
  outline: 3px solid rgba(39, 210, 216, 0.55);
  outline-offset: 4px;
}

.simple-page {
  background: var(--background);
}

/* FURSOY alignment: narrow legal container (760–850px band) */
.simple-shell {
  width: min(100% - 48px, 760px);
  margin: 0 auto;
  padding: 64px 0 96px;
}

.simple-shell .brand {
  margin-bottom: 64px;
}

.policy h1,
.download-status-page h1 {
  margin: 0;
  font-size: clamp(46px, 8vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.policy .updated {
  margin: 16px 0 48px;
  color: var(--text-dim);
  font-size: 13px;
}

.policy h2 {
  margin: 42px 0 12px;
  color: #e1e6ea;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.policy p,
.policy li,
.download-status-page p {
  color: #a5aeb7;
  font-size: 15px;
  line-height: 1.75;
}

.policy ul {
  padding-left: 20px;
}

.policy a,
.download-status-page a {
  color: var(--accent-bright);
  text-underline-offset: 4px;
}

.download-status-page {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 20px;
}

.download-status-page .brand {
  margin-bottom: 30px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 68px;
    padding-top: 72px;
  }

  .notification-demo {
    width: min(100%, 430px);
    transform: rotate(0.5deg);
  }

  .facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .facts div:nth-child(2) {
    border-right: 0;
  }

  .facts div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .facts div:first-child,
  .facts div:nth-child(3) {
    padding-left: 0;
  }

  .purpose,
  .faq {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .page-shell,
  .simple-shell {
    width: min(100% - 26px, 1180px);  /* FURSOY alignment: mobile gutter */
  }

  .site-header {
    min-height: 72px;
  }

  .hero {
    padding: 70px 0 72px;
  }

  h1 {
    font-size: clamp(55px, 17vw, 78px);
  }

  .hero-tagline {
    font-size: clamp(34px, 11vw, 54px);
  }

  .lead {
    margin-top: 28px;
  }

  .actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-button {
    width: 100%;
  }

  .notification-demo {
    padding: 17px;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .facts div,
  .facts div:nth-child(2) {
    min-height: 88px;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

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

  .purpose,
  .faq {
    padding: 52px 0;
  }

  .faq-question {
    padding: 15px 18px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }

  footer {
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .simple-shell {
    padding-top: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-button,
  .source-link,
  .faq-item,
  .faq-question::after {
    transition: none;
  }
}
