@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/sg-latin.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
  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: "Schibsted Grotesk";
  src: url("/assets/fonts/sg-latin-ext.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
  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 {
  --ground: #ffffff;
  --sheet: #ffffff;
  --wash: #f4f4f2;
  --ink: #0d0d0e;
  --ink-2: #57575c;
  --rule: #e4e4e1;
  --rule-strong: #cfcfcb;
  --go: #138a43;
  --danger: #b3261e;
  --danger-wash: #fdf1f0;
  --radius: 14px;
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (pointer: fine) { html { overscroll-behavior: none; } }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--ground);
  color: var(--ink);
  font: 400 16px/1.55 var(--font);
    -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  caret-color: var(--ink);
}
::selection { background: var(--ink); color: #fff; }
h1, h2, p, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* language visibility */
[data-l] { display: none; }
html[lang="en"] [data-l="en"], html[lang="tr"] [data-l="tr"] { display: inline; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* top bar */
.bar {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1240px; margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) 20px max(24px, env(safe-area-inset-left));
}
.wordmark { font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--rule); border-radius: 999px; background: var(--sheet); }
.lang button {
  appearance: none; border: 0; background: transparent; color: var(--ink-2);
  font: 500 13px/1 var(--font); letter-spacing: .04em;
  min-width: 44px; min-height: 34px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lang button:focus-visible { border-radius: 999px; }

/* layout */
.page {
  flex: 1;
  width: 100%; max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  align-items: center;
  padding: clamp(24px, 6vh, 72px) max(24px, env(safe-area-inset-right)) clamp(48px, 8vh, 96px) max(24px, env(safe-area-inset-left));
}
.offer { grid-column: 1 / span 7; padding-right: clamp(0px, 3vw, 48px); min-width: 0; }
.panel { grid-column: 8 / span 5; min-width: 0; }

/* offer */
.domain {
  font-weight: 620;
  font-size: clamp(3.25rem, 8.6vw, 6rem);
  line-height: .95;
  letter-spacing: -.04em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  animation: rise .9s var(--ease) both;
}
.domain span { color: #85857f; font-weight: 500; }
.lead {
  margin-top: 24px; max-width: 34ch;
  font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.45; color: var(--ink-2);
  text-wrap: pretty;
}
.price { margin-top: clamp(36px, 6vh, 56px); display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 20px; }
.amount {
  font-weight: 600; font-size: clamp(2.75rem, 5vw, 4rem); line-height: 1; letter-spacing: -.035em;
  font-variant-numeric: proportional-nums lining-nums;
}
.terms { font-size: 15px; color: var(--ink-2); font-weight: 500; }

.facts {
  margin-top: 32px; display: flex; flex-wrap: wrap;
  border-top: 1px solid var(--rule); max-width: 560px;
}
.facts > div { flex: 1 1 0; min-width: 120px; padding: 16px 20px 0 0; }
.facts > div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.facts dt { font-size: 13px; color: var(--ink-2); }
.facts dd { margin-top: 4px; font-size: 16px; font-weight: 550; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--go);
  box-shadow: 0 0 0 0 rgba(19, 138, 67, .45);
  animation: pulse 2.4s var(--ease) 1.2s 3;
}

/* two-lot list */
.headline {
  font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.3;
  color: var(--ink-2); max-width: 30ch; text-wrap: balance;
}
.lots { list-style: none; margin: clamp(20px, 3vh, 32px) 0 0; padding: 0; border-top: 1px solid var(--rule); }
.lot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
  padding: clamp(18px, 2.6vh, 28px) 0; border-bottom: 1px solid var(--rule);
  animation: rise .9s var(--ease) both;
}
.lot + .lot { animation-delay: .08s; }
.lot-name {
  font-weight: 620; font-size: clamp(2.75rem, 6.4vw, 5.25rem); line-height: .95; letter-spacing: -.04em;
  overflow-wrap: anywhere; min-width: 0;
  transition: color .3s var(--ease);
}
.lot-name span { color: #85857f; font-weight: 500; transition: color .3s var(--ease); }
.lot-meta { text-align: right; }
.lot-price {
  font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; letter-spacing: -.02em;
  font-variant-numeric: proportional-nums lining-nums;
}
.lot-status { margin-top: 8px; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-2); }
.lot-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--go); }
.lots:has(.is-picked) .lot:not(.is-picked) .lot-name { color: #4a4a4f; }
.offer > .terms { margin-top: 20px; }

/* domain choice */
.choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice legend { padding: 0; margin-bottom: 7px; font-size: 14px; font-weight: 550; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 4px; background: var(--wash); border-radius: 12px; }
.seg label { position: relative; display: block; cursor: pointer; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg label > span {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 8px;
  border-radius: 9px; font-size: 14px; font-weight: 550; color: var(--ink-2); text-align: center;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.seg label:hover > span { color: var(--ink); }
.seg input:checked + span { background: var(--sheet); color: var(--ink); box-shadow: 0 1px 2px rgba(13,13,14,.08), 0 4px 10px -4px rgba(13,13,14,.16); }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.total { margin-top: 10px; font-size: 14px; color: var(--ink-2); display: flex; justify-content: space-between; }
.total strong { color: var(--ink); font-size: 16px; font-weight: 600; }

/* panel */
.panel {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 1px 2px rgba(13, 13, 14, .04), 0 12px 32px -12px rgba(13, 13, 14, .14);
  outline: none;
}
.panel h2 { font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
.hint { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

form { margin-top: 24px; display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > label { font-size: 14px; font-weight: 550; }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  font: 400 16px/1.4 var(--font); color: var(--ink);
  background: var(--sheet);
  border: 1px solid var(--rule-strong); border-radius: 10px;
  padding: 12px 14px; min-height: 48px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
textarea { resize: vertical; min-height: 112px; }
input:hover, textarea:hover { border-color: #a9a9a5; }
input:focus-visible, textarea:focus-visible {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(13, 13, 14, .12); border-radius: 10px;
}
[aria-invalid="true"] { border-color: var(--danger) !important; }
[aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 3px rgba(179, 38, 30, .16) !important; }
.err { color: var(--danger); font-size: 14px; }

.check { grid-template-columns: 22px 1fr; align-items: start; column-gap: 12px; }
.check input {
  width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer;
}
.check label { font-size: 14px; font-weight: 450; color: var(--ink-2); cursor: pointer; }
.check label a { color: var(--ink); }
.check .err { grid-column: 2; }

.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.submit {
  margin-top: 4px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 54px; padding: 0 24px;
  border: 0; border-radius: 12px; cursor: pointer;
  background: var(--ink); color: #fff;
  font: 600 16px/1 var(--font); letter-spacing: -.005em;
  box-shadow: 0 1px 1px rgba(0,0,0,.2), 0 6px 16px -6px rgba(13,13,14,.5);
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.submit:hover { background: #2a2a2d; }
.submit:active { transform: translateY(1px); box-shadow: 0 1px 1px rgba(0,0,0,.2); }
.submit svg { transition: transform .25s var(--ease); }
.submit:hover svg { transform: translateX(3px); }
.submit .busy { display: none; }
.submit[aria-busy="true"] { cursor: progress; background: #3a3a3e; }
.submit[aria-busy="true"] .label, .submit[aria-busy="true"] svg { display: none; }
.submit[aria-busy="true"] .busy { display: inline; }
.submit[aria-busy="true"]::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: spin .8s linear infinite;
}

.alert {
  margin-top: 20px; padding: 14px 16px; border-radius: 10px;
  background: var(--danger-wash); color: #7a1a14; font-size: 14px; line-height: 1.5;
  outline: none;
}
.alert.ok { background: var(--wash); color: var(--ink); }
.alert a { color: inherit; font-weight: 600; }

.done-view { padding: 8px 0; }
.done-mark { color: var(--go); }
.done-title { margin-top: 20px; outline: none; }
.done-text { margin-top: 10px; color: var(--ink-2); }
.ref {
  margin-top: 12px; display: inline-block; padding: 8px 12px; border-radius: 8px; background: var(--wash);
  font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em;
}

/* footer */
.foot {
  width: 100%; max-width: 1240px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 20px max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  border-top: 1px solid var(--rule);
  font-size: 13px; color: var(--ink-2);
}
.foot a { color: var(--ink-2); }
.foot a:hover { color: var(--ink); }

/* notice page */
.doc { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: 32px 24px 80px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 620; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.doc .meta { margin-top: 12px; color: var(--ink-2); font-size: 14px; }
.doc h2 { margin-top: 40px; font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
.doc p, .doc li { margin-top: 10px; color: #2c2c30; max-width: 68ch; }
.doc ul { padding-left: 20px; margin: 0; }
.doc .back { display: inline-block; margin-bottom: 28px; font-size: 14px; color: var(--ink-2); }
.doc [data-l] { display: none; }
html[lang="en"] .doc [data-l="en"], html[lang="tr"] .doc [data-l="tr"] { display: block; }
html[lang="en"] .doc span[data-l="en"], html[lang="tr"] .doc span[data-l="tr"] { display: inline; }

/* responsive */
@media (max-width: 960px) {
  .page { align-items: start; row-gap: 40px; }
  .offer, .panel { grid-column: 1 / -1; padding-right: 0; }
  .panel { max-width: 640px; }
}
@media (max-width: 480px) {
  .lot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .lot-meta { text-align: left; display: flex; align-items: baseline; gap: 14px; }
  .lot-status { margin-top: 0; }
  .facts > div { min-width: 0; padding-right: 12px; }
  .facts > div + div { padding-left: 12px; }
  .panel { padding: 22px 18px; border-radius: 12px; }
}

@keyframes rise { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(19,138,67,.45); } 100% { box-shadow: 0 0 0 10px rgba(19,138,67,0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
a.wordmark { text-decoration: none; }
