/* PauseBite web: "Dalga İzi" palette from lib/ui/theme/app_colors.dart. */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/assets/fonts/Inter-Regular.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/assets/fonts/Inter-Medium.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/assets/fonts/Inter-SemiBold.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/assets/fonts/Inter-Bold.woff2) format("woff2"); }

:root {
  --bg: #F3F5F4; --surface: #FFFFFF; --surface2: #E9EEEC;
  --text: #10242E; --muted: #4F6A70; --border: #D7DFDD;
  --accent: #C94A1C; --warn: #9A6100; --glow: #8FA8F0;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1B22; --surface: #16262E; --surface2: #1D3039;
    --text: #E6ECEA; --muted: #9DB0B4; --border: #22343C;
    --accent: #F08A5D; --warn: #E2B04A;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
body.landing, .hero { overflow-x: clip; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; margin: 0; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 5; }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.bar { width: min(1120px, 100% - 48px); margin: 0 auto; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; z-index: 4; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.0625rem; text-decoration: none; }
.links { display: flex; align-items: center; gap: 22px; font-size: 0.9rem; }
.links > a { text-decoration: none; color: var(--muted); }
.links > a:hover { color: var(--text); }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 0.8rem; color: var(--muted); border: 1.5px solid var(--border); border-radius: 999px; padding: 5px 11px; min-height: 32px; display: flex; align-items: center; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; min-width: 150px; z-index: 6; box-shadow: 0 8px 24px rgb(16 36 46 / 0.12); }
.lang li a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; }
.lang li a:hover { background: var(--surface2); }
.lang li a[aria-current] { font-weight: 600; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding: 16px 0 64px; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); font-weight: 700; max-width: 12ch; }
.lead { font-size: 1.125rem; color: var(--muted); margin: 22px 0 28px; max-width: 29em; }
.cta { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; }
.button { display: inline-flex; align-items: center; background: var(--text); color: var(--bg); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 14px 22px; border-radius: 999px; min-height: 48px; }
.button:hover { opacity: 0.9; }
.soon { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* Showcase: the app's pause screen in a phone */
.show { position: relative; margin: 0; height: 720px; padding-bottom: 40px; display: grid; place-items: center; }
.glow { position: absolute; width: 540px; height: 540px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--glow) 50%, transparent) 0%, transparent 65%); filter: blur(10px); transition: background 0.8s; }
.show figcaption { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 0.8rem; color: var(--muted); }
.phone { --s: 0.74; position: relative; z-index: 2; width: calc(390px * var(--s) + 20px); height: calc(844px * var(--s) + 20px); border-radius: 56px; background: #0B1418; padding: 10px; overflow: hidden; box-shadow: 0 40px 80px rgb(16 36 46 / 0.28), inset 0 0 0 1.5px #2A3A42; }
.screen { width: 390px; height: 844px; transform: scale(var(--s)); transform-origin: 0 0; border-radius: 62px; overflow: hidden; }

.app { font-family: Inter, sans-serif; color: var(--text); background: var(--bg); height: 100%; position: relative; overflow: hidden; line-height: 1.3; }
.app .bloom { position: absolute; left: -80px; top: -120px; width: 560px; height: 420px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--glow) 40%, transparent), transparent 70%); transition: background 0.8s; }
.app .scroll { position: absolute; inset: 0; overflow-y: auto; scrollbar-width: none; padding: 58px 0 110px; }
.app .scroll::-webkit-scrollbar { display: none; }
.status { position: absolute; top: 0; left: 0; right: 0; height: 56px; background: linear-gradient(var(--bg) 78%, transparent); display: flex; justify-content: space-between; align-items: center; padding: 6px 34px 0 40px; font-weight: 600; font-size: 16px; z-index: 3; }
.status .ic { display: flex; gap: 6px; align-items: center; }
.status .ic i { display: block; background: var(--text); }
.status .i1 { width: 17px; height: 11px; border-radius: 2px; }
.status .i2 { width: 15px; height: 11px; border-radius: 6px; }
.status .i3 { width: 25px; height: 12px; border-radius: 4px; }
.island { position: absolute; top: 11px; left: 50%; margin-left: -62px; width: 124px; height: 36px; border-radius: 20px; background: #000; z-index: 4; }
.pad { padding: 0 22px; position: relative; }
.mood { display: inline-flex; flex-direction: column; gap: 4px; background: none; border: 0; padding: 6px 0 0; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.mood b { display: inline-flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.mood b i { width: 12px; height: 12px; border-radius: 50%; background: var(--glow); transition: background 0.8s; }
.mood b svg { width: 18px; height: 18px; }
.mood > span { font-size: 15px; color: var(--muted); }
.cf { position: relative; height: 352px; margin: 18px 0; perspective: 900px; touch-action: pan-y; user-select: none; }
.cc { position: absolute; left: 50%; top: 0; width: 262px; margin-left: -131px; height: 340px; border-radius: 30px; background: var(--surface); overflow: hidden; box-shadow: 0 10px 28px rgb(16 36 46 / 0.10); transition: transform 0.5s cubic-bezier(.2,.8,.2,1), filter 0.5s; cursor: grab; }
.cc .art { height: 222px; }
.cc .meta { padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cc h3 { font-size: 19px; font-weight: 700; }
.cc small { color: var(--muted); font-size: 13px; display: block; margin-top: 4px; }
.cc .go { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--text); display: grid; place-items: center; transition: opacity 0.3s; }
.go svg, .sq svg { width: 20px; height: 20px; stroke: var(--bg); }
.art { display: grid; place-items: center; position: relative; isolation: isolate; }
.art svg { width: 48%; height: auto; }
.art::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.4; mix-blend-mode: multiply; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .35 0 0 0 0 .33 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.talk { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 26px; padding: 12px 12px 12px 14px; }
.bot { width: 42px; height: 42px; border-radius: 50%; background: var(--text); position: relative; flex: none; }
.bot::before, .bot::after { content: ""; position: absolute; top: 15px; width: 6px; height: 11px; border-radius: 3px; background: var(--bg); }
.bot::before { left: 13px; }
.bot::after { right: 13px; }
.talk p { flex: 1; font-weight: 600; font-size: 15px; }
.pro { font-size: 13px; font-weight: 600; color: var(--warn); display: inline-flex; gap: 6px; align-items: center; }
.pro::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); }
.sq { width: 48px; height: 48px; flex: none; border-radius: 16px; background: var(--text); display: grid; place-items: center; }
.tools { display: grid; grid-template-columns: 1fr 1fr; margin-top: 12px; background: var(--surface); border-radius: 26px; overflow: hidden; }
.tools > div { padding: 18px 18px 20px; min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; }
.tools > div + div { border-left: 1px solid var(--border); }
.tdot { width: 9px; height: 9px; border-radius: 50%; }
.t1 { background: #B8CBD6; }
.t2 { background: #C7B8F5; }
.tools b { font-size: 16px; }
.hr { height: 1px; background: var(--border); margin: 26px 0 22px; }
.lbl { font-size: 13px; color: var(--muted); font-weight: 500; }
.remind { font-size: 25px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; margin: 10px 0 14px; cursor: pointer; transition: opacity 0.3s; }
.squig { width: 110px; height: 14px; stroke: var(--muted); }
.all-title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin: 30px 0 14px; }
.tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tabs button { font: 600 14px Inter, sans-serif; color: var(--text); background: transparent; border: 1.5px solid var(--border); border-radius: 999px; padding: 9px 14px; cursor: pointer; white-space: nowrap; }
.tabs button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { background: var(--surface); border-radius: 20px; overflow: hidden; }
.tile .art { height: 100px; }
.tile .art svg { width: 42%; }
.tile .t { padding: 10px 12px 12px; font-size: 14px; font-weight: 600; }
.tabbar { position: absolute; left: 22px; right: 22px; bottom: 26px; height: 66px; border-radius: 33px; display: flex; justify-content: space-around; align-items: center; z-index: 3; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--border); }
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--muted); padding: 6px 18px; border-radius: 22px; }
.tabbar span.on { color: var(--text); background: var(--surface2); }
.tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Below the hero */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); padding: 56px 0; border-top: 1px solid var(--border); }
.step { padding: 0 28px; border-left: 1px solid var(--border); }
.step:first-child { border-left: 0; padding-left: 0; }
.step .num { font-size: 0.8rem; color: var(--muted); }
.step h3 { font-size: 1.5rem; margin: 10px 0; }
.step p { color: var(--muted); }
.twin { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 48px; }
.panel { border-radius: 28px; padding: 32px; background: var(--surface); }
.panel h2 { font-size: 1.6rem; margin-bottom: 12px; }
.panel ul { margin: 0; padding: 0; list-style: none; }
.panel li { padding: 12px 0; border-top: 1px solid var(--border); color: var(--muted); }
.panel li:first-child { border-top: 0; }
.panel .more { margin-top: 12px; }
.panel .more a { font-weight: 600; }

.foot { border-top: 1px solid var(--border); padding: 26px 0 36px; color: var(--muted); font-size: 0.85rem; }
.foot p { margin: 0 0 6px; }
.foot .langs a { margin-right: 12px; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 8px; gap: 8px; }
  .show { height: 620px; }
  .phone { --s: 0.62; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { border-left: 0; padding: 0; }
  .twin { grid-template-columns: 1fr; }
  .panel { padding: 24px; }
}
@media (max-width: 560px) {
  .wrap, .bar { width: calc(100% - 40px); }
  .links { gap: 14px; }
  .links .hide-s { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Legal pages keep their original content; only the frame is shared. */
.doc { width: min(760px, 100% - 40px); margin: 8px auto 48px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px 24px; line-height: 1.6; }
.doc h1 { font-size: 1.7rem; margin: 0 0 8px; }
.doc h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.doc h3 { font-size: 1rem; margin: 18px 0 6px; }
.doc p, .doc li { margin: 0 0 10px; }
.doc ul { padding-left: 20px; }
.doc a { color: var(--accent); }
.doc .meta { color: var(--muted); font-size: 0.9rem; }
.doc .lang { margin: 8px 0 20px; font-size: 0.95rem; }
.doc hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 6px; border-bottom: 1px solid var(--border); }
.doc th { color: var(--muted); font-weight: 600; }
.doc details { margin: 0 0 10px; }
.doc summary { cursor: pointer; font-weight: 600; }
