/* Durmaz Digital — site styles. Teal + warm white, photo-led hero (residential / renovation genre). */

:root {
  --teal: #0f766e;
  --teal-dark: #0b5a54;
  --teal-ink: #0b2b29;
  --mint: #5eead4;
  --mint-soft: #ccfbf1;
  --ink: #12302d;
  --muted: #4d625f;
  --line: #dbe5e3;
  --bg: #f4f7f6;
  --card: #ffffff;
  --scrim: 6, 26, 24;

  --step-small: 0.9375rem;
  --step-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-lead: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  --step-h3: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --step-h2: clamp(1.75rem, 1.35rem + 1.5vw, 2.625rem);
  --step-h1: clamp(2.375rem, 1.5rem + 3.6vw, 4.5rem);

  --pad: max(20px, calc((100% - 1200px) / 2));
  --gap: 24px;
  --sec: clamp(72px, 8vw, 120px);
  --r: 16px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--step-body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
a { color: var(--teal); text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--teal); color: #fff; }
h1, h2, h3 { letter-spacing: -0.025em; color: var(--teal-ink); }
.vh { /* taste-skill-ignore: visually-hidden utility */
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip { position: absolute; left: 16px; top: -100px; z-index: 80; background: var(--teal); color: #fff; padding: 12px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.skip:hover { color: #fff; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: inherit; }
.brand svg { width: 36px; height: 36px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease-out), background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--teal-ink); }
.btn-light:hover { background: var(--mint-soft); color: var(--teal-ink); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,0.14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.24); color: #fff; }

/* Store badge (Google Play style, our own drawing) */
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 22px 8px 16px;
  background: #0b0f0e; color: #fff; border-radius: 14px; text-decoration: none;
  transition: transform 0.2s var(--ease-out), background-color 0.2s;
}
.store:hover { background: #1c2423; color: #fff; transform: translateY(-1px); }
.store svg { width: 26px; height: 28px; flex: none; }
.store span { display: grid; line-height: 1.15; text-align: left; }
.store small { font-size: 11.5px; font-weight: 500; opacity: 0.85; letter-spacing: 0.01em; }
.store b { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; margin: 12px; border-radius: 28px; overflow: hidden; isolation: isolate;
  min-height: min(940px, calc(100svh - 24px)); display: flex; flex-direction: column;
  color: #fff;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 45% at 50% 38%, rgba(var(--scrim), 0.28) 0%, rgba(var(--scrim), 0) 100%),
    linear-gradient(180deg, rgba(var(--scrim), 0.68) 0%, rgba(var(--scrim), 0.62) 40%, rgba(var(--scrim), 0.62) 70%, rgba(var(--scrim), 0.85) 100%); /* taste-skill-ignore: neutral photo scrim keeps 4.5:1 over the bright window */
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px clamp(20px, 3vw, 40px); }
.nav ul { list-style: none; display: flex; align-items: center; gap: 30px; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15.5px; opacity: 0.92; padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-thickness: 2px; }
.nav .btn-light { color: var(--teal-ink); }
.nav .btn { opacity: 1; padding: 0 20px; min-height: 44px; font-size: 15px; text-decoration: none; }
.menu-btn { display: none; font: inherit; font-weight: 700; color: #fff; background: rgba(255,255,255,0.14); border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; }

.hero-copy { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; padding: 24px 20px 0; }
.hero h1 { color: #fff; font-size: var(--step-h1); line-height: 1.04; font-weight: 800; max-width: 15ch; text-wrap: balance; }
.hero .lede { margin-top: 22px; font-size: var(--step-lead); line-height: 1.55; max-width: 56ch; color: rgba(255,255,255,0.92); text-wrap: pretty; }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hero .note { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,0.8); }

/* Phone preview that rises out of the bottom of the hero */
.hero-phone { position: relative; height: clamp(250px, 30vw, 330px); margin-top: 40px; display: flex; justify-content: center; }
.phone {
  width: 300px; background: #0b0f0e; border-radius: 42px 42px 0 0; padding: 11px 11px 0;
  box-shadow: 0 -10px 60px rgba(0,0,0,0.35); /* taste-skill-ignore: device frame floats over the photo */
}
.phone .screen { background: var(--bg); border-radius: 32px 32px 0 0; height: 100%; overflow: hidden; color: var(--ink); font-size: 13px; line-height: 1.35; padding: 14px 14px 0; }
.phone .status { display: flex; justify-content: space-between; font-weight: 700; font-size: 12px; padding: 0 8px 10px; }
.phone .room { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px 12px; }
.phone .room b { font-size: 18px; color: var(--teal-ink); letter-spacing: -0.02em; }
.phone .room small { color: var(--muted); font-size: 12px; }
.phone .area { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.phone .area div { background: var(--teal); color: #fff; border-radius: 14px; padding: 10px 12px; }
.phone .area span { display: block; font-size: 11px; opacity: 0.96; }
.phone .area strong { font-size: 18px; letter-spacing: -0.02em; }
.phone .row { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 12px; padding: 10px 12px; margin-bottom: 6px; }
.phone .row span { display: grid; text-align: left; }
.phone .row em { font-style: normal; color: var(--muted); font-size: 11.5px; }
.phone .row b { color: var(--teal-ink); }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { position: absolute; left: 12px; right: 12px; top: 76px; z-index: 20; background: var(--teal-ink); border-radius: 18px; padding: 10px 20px 20px; display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { display: block; font-size: 18px; padding: 14px 0; }
  .nav .btn { margin-top: 10px; width: 100%; }
}
@media (max-width: 560px) {
  .hero { margin: 8px; border-radius: 22px; min-height: calc(100svh - 16px); }
  .hero .actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .store, .hero .actions .btn { justify-content: center; }
  .phone { width: 260px; }
  .hero-phone { height: 230px; }
}

/* ---------- Entrance motion ---------- */
.js [data-rise] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-rise].in { opacity: 1; transform: none; }
.hero-bg img { animation: settle 1.6s var(--ease-out) both; }
@keyframes settle { from { transform: scale(1.06); } }
.phone { animation: rise 1s var(--ease-out) 0.35s both; }
@keyframes rise { from { transform: translateY(60px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-rise] { opacity: 1; transform: none; }
}

/* =================== Sections =================== */
.wrap { padding-inline: var(--pad); }
.section { padding-block: var(--sec); }
.head { max-width: 680px; margin-bottom: 48px; }
.head.center { margin-inline: auto; text-align: center; }
.head h2, .h2 { font-size: var(--step-h2); line-height: 1.12; font-weight: 800; text-wrap: balance; }
.head p { margin-top: 14px; font-size: var(--step-lead); color: var(--muted); line-height: 1.55; }

/* How it works: three steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); list-style: none; }
.steps li { background: var(--card); border-radius: 20px; padding: 28px; }
.steps .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--mint-soft); color: var(--teal); font-weight: 800; margin-bottom: 18px; }
.steps h3 { font-size: var(--step-h3); font-weight: 750; line-height: 1.3; }
.steps p { margin-top: 8px; color: var(--muted); }

/* Calculators */
.calcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.calc { background: var(--card); border-radius: 20px; padding: 26px; transition: transform 0.25s var(--ease-out), box-shadow 0.25s; }
.calc:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(11,43,41,0.35); /* taste-skill-ignore: lifted card on hover */ }
.calc .t { display: flex; align-items: center; gap: 12px; }
.calc .t svg { width: 28px; height: 28px; flex: none; color: var(--teal); }
.calc h3 { font-size: var(--step-h3); font-weight: 750; }
.calc p { margin-top: 8px; color: var(--muted); font-size: var(--step-small); line-height: 1.6; }
.calc .out { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--teal); }

/* Company split with photo */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.split figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.split .copy p { margin-top: 16px; color: var(--muted); font-size: var(--step-lead); line-height: 1.55; }
.facts { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.facts div { background: var(--card); border-radius: 16px; padding: 16px 18px; }
.facts dt { font-size: 13.5px; color: var(--muted); }
.facts dd { font-weight: 700; color: var(--teal-ink); margin-top: 2px; }

/* Privacy band */
.band { background: var(--teal-ink); color: #fff; border-radius: 28px; margin-inline: 12px; }
.band .inner { padding: clamp(48px, 6vw, 88px) var(--pad); display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.band h2 { color: #fff; }
.band .copy p { margin-top: 16px; color: rgba(255,255,255,0.86); font-size: var(--step-lead); }
.promises { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.promises li { background: rgba(255,255,255,0.07); border-radius: 18px; padding: 20px; }
.promises b { display: block; color: #fff; font-size: 17px; }
.promises span { display: block; margin-top: 6px; color: rgba(255,255,255,0.82); font-size: 15px; line-height: 1.55; }
.promises svg { color: var(--mint); margin-bottom: 10px; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { background: var(--card); border-radius: 16px; padding: 4px 22px; margin-top: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: var(--step-h3); color: var(--teal-ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(45deg) translateY(-3px); transition: transform 0.25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* CTA */
.cta { text-align: center; }
.cta .box { background: var(--card); border-radius: 28px; padding: clamp(40px, 6vw, 72px) 24px; }
.cta p { margin: 14px auto 0; color: var(--muted); max-width: 52ch; font-size: var(--step-lead); }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* Footer */
.foot { background: #0a2422; color: rgba(255,255,255,0.78); font-size: var(--step-small); margin-top: var(--sec); }
.foot .top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding: 64px var(--pad) 40px; }
.foot .brand { color: #fff; }
.foot address { font-style: normal; margin-top: 18px; line-height: 1.65; white-space: pre-line; }
.foot h2 { font-size: 14px; color: #fff; letter-spacing: 0; margin-bottom: 12px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--mint); text-decoration: underline; }
.foot .legal { padding: 22px var(--pad) 34px; display: grid; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,0.7); }
.foot .legal::before { content: ""; height: 1px; background: rgba(255,255,255,0.12); margin-bottom: 14px; }
.foot .legal a { text-decoration: underline; color: rgba(255,255,255,0.85); }

/* =================== Inner pages =================== */
.top-band { background: var(--teal-ink); color: #fff; margin: 12px; border-radius: 28px; }
.top-band .page-head { padding: clamp(36px, 5vw, 72px) var(--pad) clamp(44px, 5vw, 80px); }
.page-head h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); line-height: 1.08; font-weight: 800; max-width: 22ch; }
.page-head p { margin-top: 16px; color: rgba(255,255,255,0.86); font-size: var(--step-lead); max-width: 62ch; }
.page-head .meta { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 12px; }

.doc { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding: clamp(40px, 5vw, 72px) var(--pad) 0; }
.toc { position: sticky; top: 24px; align-self: start; font-size: 14.5px; }
.toc h2 { font-size: 13px; color: var(--muted); margin-bottom: 10px; letter-spacing: 0; }
.toc ol { list-style: none; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.toc a:hover { background: var(--mint-soft); color: var(--teal-ink); }
.body { max-width: 760px; }
.body h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); font-weight: 800; margin: 52px 0 14px; scroll-margin-top: 24px; }
.body h2:first-child { margin-top: 0; }
.body h3 { font-size: var(--step-h3); font-weight: 750; margin: 28px 0 8px; }
.body p, .body ul, .body ol, .body table, .body dl { margin-top: 12px; }
.body ul, .body ol { padding-left: 1.25em; }
.body li { margin-top: 6px; }
.body li::marker { color: var(--teal); }
.body table { width: 100%; border-collapse: collapse; font-size: var(--step-small); background: var(--card); border-radius: 14px; overflow: hidden; }
.body th, .body td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.body thead th { background: var(--mint-soft); color: var(--teal-ink); }
.card { background: var(--card); border-radius: 18px; padding: 24px; margin-top: 18px; }
.card > *:first-child { margin-top: 0; }
.addr { white-space: pre-line; font-style: normal; font-weight: 600; }

@media (max-width: 960px) {
  .steps, .calcs { grid-template-columns: 1fr 1fr; }
  .split, .band .inner { grid-template-columns: 1fr; }
  .foot .top { grid-template-columns: 1fr 1fr; }
  .doc { grid-template-columns: 1fr; }
  .toc { display: none; }
}
@media (max-width: 640px) {
  .steps, .calcs, .promises, .facts { grid-template-columns: 1fr; }
  .foot .top { grid-template-columns: 1fr; }
  .band, .top-band { margin-inline: 8px; border-radius: 22px; }
  .body table { display: block; overflow-x: auto; }
}


/* Grid children may shrink below their content width (tables, long package names). */
.doc > *, .split > *, .band .inner > * { min-width: 0; }
.body td, .body th { overflow-wrap: break-word; hyphens: manual; }
.body code { overflow-wrap: anywhere; font: inherit; }
@media (max-width: 960px) { .doc { grid-template-columns: minmax(0, 1fr); } }
