@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-400-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: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-400-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: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/barlow-500-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: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/barlow-500-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: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-700-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: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-700-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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-condensed-400-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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-condensed-400-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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlow-condensed-600-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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlow-condensed-600-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;
}
/* ══════════════════════════════════════════════════════════════════════════
   dokunomi — pre-launch landing page
   Design tokens carried over from the Claude Design canvas ("Industry").
   These are the C4 input; retune here, never in the markup.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  /* base */
  --color-bg: #f2f2f3;
  --color-surface: #e9e9ea;
  --color-text: #1d1f20;
  --color-accent: #5980a6;

  /* accent ramp (OKLCH-generated, shared lightness scale) */
  --color-accent-300: #b5d9fd;
  --color-accent-900: #1d2d3d;

  /* page roles — the shell is the dark accent, text is the light ground */
  --color-ink: var(--color-bg);
  --color-ink-strong: color-mix(in srgb, var(--color-bg) 88%, transparent);
  --color-ink-muted: color-mix(in srgb, var(--color-bg) 72%, transparent);
  --color-ink-faint: color-mix(in srgb, var(--color-bg) 60%, transparent);
  --color-rule: color-mix(in srgb, var(--color-bg) 22%, transparent);
  --color-field-border: color-mix(in srgb, var(--color-bg) 45%, transparent);

  /* type */
  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  /* spacing */
  --space-1: 3.4px;
  --space-2: 6.8px;
  --space-3: 10.2px;
  --space-4: 13.6px;
  --space-6: 20.4px;
  --space-8: 27.2px;

  --radius-sm: 2px;
  --radius-md: 4px;

  /* page rhythm */
  --pad-block: clamp(40px, 6vw, 88px);
  --pad-inline: clamp(28px, 5vw, 72px);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  background: var(--color-accent-900);
  color: var(--color-ink);
}

h1, h2 { font-family: var(--font-heading); margin: 0; }

a { color: var(--color-accent-300); text-underline-offset: 3px; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent-300); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 45%, transparent); }

/* — shell ————————————————————————————————————————————————— */

.shell {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.shell__main {
  padding: var(--pad-block) var(--pad-inline);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 56px;
}

.shell__aside {
  border-left: 1px solid var(--color-rule);
  padding: var(--pad-block) clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* — masthead ——————————————————————————————————————————————— */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.masthead__brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }

.masthead__nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.shell--single { grid-template-columns: minmax(0, 1fr); max-width: 880px; margin: 0 auto; }

.masthead__mark { flex: none; }

.masthead__word {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 0.02em;
}

/* — hero ——————————————————————————————————————————————————— */

.hero__title {
  font-weight: 600;
  font-size: clamp(42px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: 0.005em;
  max-width: 20ch;
}

.hero__lede {
  font-size: 18px;
  line-height: 30px;
  margin: 28px 0 0;
  max-width: 48ch;
  color: var(--color-ink-strong);
}

/* — waitlist form —————————————————————————————————————————— */

.waitlist { margin: 40px 0 0; max-width: 520px; }

.waitlist__row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
}

.waitlist__input {
  flex: 1 1 240px;
  min-width: 0;
  min-height: 44px;
  padding: 0 var(--space-4);
  font: inherit;
  font-size: 16px; /* 16px keeps iOS Safari from zooming on focus */
  color: var(--color-ink);
  background: transparent;
  border: 1px solid var(--color-field-border);
  border-radius: var(--radius-sm);
}

.waitlist__input::placeholder { color: var(--color-ink-faint); }

.waitlist--stacked { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.waitlist--stacked .waitlist__input { width: 100%; }
.waitlist__field { display: flex; flex-direction: column; gap: 6px; width: 100%; }
/* .waitlist__input's flex basis (240px) is written for the horizontal row. Inside a field,
   which is a column, that basis becomes the input's height, and every stacked form rendered
   ~240px-tall textboxes. Size the input by its min-height instead. */
.waitlist__field > .waitlist__input { flex: none; }
.waitlist__field > span { font-size: 14px; line-height: 20px; color: var(--color-ink-muted); }

/* — buttons ——————————————————————————————————————————————— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--space-6);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn--primary {
  color: var(--color-accent-900);
  background: var(--color-accent-300);
  border-color: var(--color-accent-300);
}

.btn--primary:hover { background: color-mix(in srgb, var(--color-accent-300) 85%, #fff); }

.btn--ghost {
  color: var(--color-ink);
  background: transparent;
  border-color: var(--color-field-border);
}

.btn--ghost:hover {
  color: var(--color-accent-900);
  background: var(--color-ink);
  border-color: var(--color-ink);
}

.btn[disabled] { opacity: 0.6; cursor: default; }

.waitlist__note {
  font-size: 14px;
  line-height: 22px;
  margin: 14px 0 0;
  color: var(--color-ink-muted);
}

.waitlist__note--error { color: #ffb4a8; }

.waitlist__consent {
  font-size: 13px;
  line-height: 20px;
  margin: 10px 0 0;
  color: var(--color-ink-faint);
}

.waitlist__kvkk {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  color: var(--color-ink-muted);
  cursor: pointer;
}

.waitlist__kvkk input[type=checkbox] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--color-accent-300);
}

.waitlist__kvkk a { color: var(--color-ink); }

.waitlist__confirmation-title {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 30px;
  margin: 0;
  color: var(--color-ink);
}

.legal { max-width: 720px; }
.legal h2 { font-size: 18px; line-height: 26px; margin: 28px 0 8px; }
.legal p, .legal li { font-size: 15px; line-height: 25px; color: var(--color-ink-muted); }

/* — colophon ——————————————————————————————————————————————— */

.colophon {
  font-size: 13px;
  line-height: 22px;
  margin: 0;
  color: var(--color-ink-faint);
}

.colophon__line { display: block; }

/* — status list ————————————————————————————————————————————— */

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 24px;
  color: var(--color-accent-300);
}

.status { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }

.status__item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
}

.status__dot {
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border: 1px solid var(--color-field-border);
}

.status__item--done .status__dot {
  background: var(--color-accent-300);
  border-color: var(--color-accent-300);
}

.status__item--wip .status__dot {
  background: color-mix(in srgb, var(--color-accent-300) 50%, transparent);
  border-color: transparent;
}

.status__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  margin: 0;
}

.status__state {
  font-size: 14px;
  line-height: 22px;
  margin: 4px 0 0;
  color: var(--color-ink-muted);
}

/* — perks —————————————————————————————————————————————————— */

.perks-block { border-top: 1px solid var(--color-rule); padding-top: 32px; }

.perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }

.perks li { font-size: 15px; line-height: 24px; color: var(--color-ink-strong); }

.contact { font-size: 14px; line-height: 24px; margin: 0; color: var(--color-ink-muted); }

/* — responsive ————————————————————————————————————————————— */

@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }

  .shell__main { gap: 44px; }

  .shell__aside {
    border-left: 0;
    border-top: 1px solid var(--color-rule);
    padding: var(--pad-block) var(--pad-inline);
  }
}

@media (max-width: 480px) {
  .hero__lede { font-size: 17px; line-height: 28px; }
  .waitlist .btn { flex: 1 1 100%; }
  .masthead__word { font-size: 22px; }
  .masthead .btn { padding: 0 var(--space-4); font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ══════════════════════════════════════════════════════════════════════════
   Application shell — the signed-in chrome (MainLayout + NavMenu).
   Same tokens as the landing page above, so the two never drift apart.
   ══════════════════════════════════════════════════════════════════════════ */

.page { display: flex; min-height: 100vh; min-height: 100svh; }

.sidebar {
  flex: 0 0 240px;
  background: color-mix(in srgb, var(--color-accent-900) 82%, #000);
  border-right: 1px solid var(--color-rule);
}

.page > main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }

.content { padding: var(--pad-block) var(--pad-inline); }

.content h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  margin: 0 0 var(--space-6);
}

.unavailable { max-width: 36rem; }

.unavailable__badge {
  display: inline-block;
  margin: 0 0 var(--space-6);
  padding: var(--space-1) var(--space-3);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent-900);
  background: var(--color-accent-300);
  border-radius: var(--radius-sm);
}

.unavailable__lede {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-ink-muted);
}

@media (max-width: 900px) {
  .page { flex-direction: column; }
  .sidebar { flex: none; border-right: 0; border-bottom: 1px solid var(--color-rule); }
}

/* — Blazor framework surfaces ——————————————————————————————————
   Carried over from the template and restyled onto the tokens. These are not
   decoration: without them, validation state and the error bar are invisible. */

h1:focus { outline: none; }

.valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; }

.invalid { outline: 1px solid #ffb4a8; }

.validation-message { color: #ffb4a8; font-size: 14px; }

.blazor-error-boundary {
  padding: var(--space-4) var(--space-6);
  color: var(--color-ink);
  background: #7a2020;
}

.blazor-error-boundary::after { content: "Beklenmeyen bir hata oluştu."; }

/* — sidebar nav ————————————————————————————————————————————
   Global, not a .razor.css companion: NavLink is a component, so Blazor's CSS
   isolation never stamps its rendered <a> with the parent's scope attribute and
   a scoped .sidenav__link would silently match nothing. */

.sidenav { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-6) var(--space-4); }

.sidenav__brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.02em;
  color: var(--color-ink);
  text-decoration: none;
  padding: 0 var(--space-3);
  margin-bottom: var(--space-6);
}

.sidenav__link {
  display: block;
  padding: var(--space-3);
  font-size: 15px;
  color: var(--color-ink-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
}

.sidenav__link:hover { color: var(--color-ink); background: color-mix(in srgb, var(--color-ink) 6%, transparent); }

/* Blazor stamps .active on the NavLink matching the current route. */
.sidenav__link.active {
  color: var(--color-accent-300);
  border-left-color: var(--color-accent-300);
  background: color-mix(in srgb, var(--color-accent-300) 10%, transparent);
}

/* — framework error bar ————————————————————————————————————
   MUST default to display:none — Blazor reveals it by setting display:block when a
   circuit error occurs. Left unstyled it renders as a permanent error banner on
   every page. Global because both layouts emit it and only one can own a scope. */

#blazor-error-ui {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-4) var(--space-6);
  color: var(--color-ink);
  background: #7a2020;
}

#blazor-error-ui .reload { color: var(--color-accent-300); }

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: var(--space-6);
  top: var(--space-4);
}

/* — auth split screen ——————————————————————————————————————— */
/* Sign-in, registration and password recovery: brand visual on the left, the form
   panel on the right (Components/Shared/AuthSplit.razor). The weave tile is the one
   colour not taken from a token, because a data URI cannot read a custom property. */

.auth-split {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

/* — aside: the brand visual ———————————————————————————————— */

.auth-aside {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: var(--pad-block) var(--pad-inline);
  background: color-mix(in srgb, var(--color-accent-900) 82%, #000);
  border-right: 1px solid var(--color-rule);
}

/* The mark's own interlace, tiled: warp and weft passing over and under, the thing
   dokunomi prepares. Faded toward the text so the copy stays readable. */
.auth-aside__weave {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48' fill='none' stroke='%23b5d9fd' stroke-opacity='0.22' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M14 8 V10.5 M14 17.5 V30.5 M14 37.5 V40'/%3E%3Cpath d='M24 8 V20.5 M24 27.5 V40'/%3E%3Cpath d='M34 8 V10.5 M34 17.5 V30.5 M34 37.5 V40'/%3E%3Cpath d='M8 14 H20.5 M27.5 14 H40'/%3E%3Cpath d='M8 24 H10.5 M17.5 24 H30.5 M37.5 24 H40'/%3E%3Cpath d='M8 34 H20.5 M27.5 34 H40'/%3E%3C/svg%3E");
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 55%);
  mask-image: linear-gradient(to top, transparent 0%, #000 55%);
}

.auth-aside__body {
  position: relative;
  max-width: 34rem;
}

.auth-aside__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.05;
  text-wrap: balance;
  color: var(--color-ink);
}

.auth-aside__lede {
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 28px;
  max-width: 40ch;
  color: var(--color-ink-muted);
}

/* — panel: sign-in ————————————————————————————————————————— */

.auth-panel {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: var(--pad-block) var(--pad-inline);
}

.auth-panel__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
}

.auth-panel__title {
  font-weight: 600;
  font-size: clamp(36px, 3.4vw, 52px);
  line-height: 1.05;
}

.auth-panel__lede {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--color-ink-strong);
}

/* Forms come from the page or from child components (SignupForm,
   PasswordResetRequestForm); style them through the panel so both are covered. */
.auth-panel .waitlist {
  margin-top: 32px;
  max-width: none;
}

.auth-panel .waitlist--stacked > .btn { align-self: stretch; }

.auth-panel__link { margin-top: 1rem; }
.auth-panel__link + .auth-panel__link { margin-top: 0.5rem; }

/* A bordered block in the panel for a status or a choice rather than a form
   (invitation outcomes). Tinted from the ink, so it reads on the dark ground. */
.auth-card {
  padding: 1.5rem;
  background: color-mix(in srgb, var(--color-ink) 5%, transparent);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-md);
}

.auth-card__text { margin: 0 0 1.25rem; font-size: 16px; color: var(--color-ink-strong); }
.auth-card__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.auth-card .waitlist__note { margin: 0 0 1rem; font-weight: 500; }

.waitlist__note--success { color: #a8e6b8; }

/* — narrow: the form alone ——————————————————————————————————— */

@media (max-width: 860px) {
  .auth-split { grid-template-columns: minmax(0, 1fr); }
  .auth-aside { display: none; }
  .auth-panel__body { justify-content: flex-start; }
}
