/* SEWIG web — Tier 1 (D41). The palette is docs/design/tokens.json, unchanged,
   so a mother arriving from the app does not land somewhere that looks like a
   different company. Light and dark both defined: a page a reader cannot read
   at night fails the same D34.5 test the app's screens are held to.

   The typefaces are served from this origin, never from a font CDN. A third
   party that receives every visitor's IP address is a processor, and the
   privacy notice lists the processors by name - adding one silently would make
   that page wrong. Both families are SIL OFL 1.1; see assets/fonts/LICENSE.md. */

@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/assets/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;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/assets/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: "Atkinson"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/atkinson-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: "Atkinson"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/atkinson-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;
}

:root {
  --bg: #F7F1E8;
  --surface: #E9DDCF;
  --text: #51443D;
  --text-secondary: #786B63;
  --accent: #A85F4B;          /* terracotta - links, the only text accent */
  --pulse: #D98970;           /* peach - a mark: rule, dot, underline. Never a wash */
  --sage: #A8AD91;            /* fill only. 2.07 on cream: never a line, never text */
  --border: #D8C5B3;
  --col: 1040px;
  --doc: 680px;
  --gutter: 1.5rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1E1A17;
    --surface: #2F2822;
    --text: #F3EDE3;
    --text-secondary: #C6B6A6;
    --accent: #E9A98F;
    --pulse: #D98970;
    --border: #3B332C;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Atkinson", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .wordmark, .quote-text { font-family: "Manrope", ui-sans-serif, system-ui, sans-serif; }
p { margin: 0; }
img, svg { max-width: 100%; }

a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--border); }
a:hover { border-bottom-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); color: var(--text);
              padding: .6rem 1rem; border-radius: 10px; z-index: 9; }

.shell { width: min(var(--col), 100% - (2 * var(--gutter))); margin-inline: auto; }
/* The body of a document starts on the title's left edge, at a narrower
   measure. Using the full 1040 for running text would cost readability. */
.doc { width: min(var(--doc), 100%); }
.pulse { width: 40px; height: 3px; background: var(--pulse); border-radius: 2px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--text-secondary);
           margin-top: .75rem; }

/* ── header ─────────────────────────────────────────────────────────── */
.site-head { border-bottom: 1px solid var(--border); }
.head-in { display: flex; align-items: center; justify-content: space-between;
           gap: 1.5rem; flex-wrap: wrap; padding: 1.4rem 0 1.2rem; }
.mark { display: inline-flex; align-items: center; gap: .7rem; color: var(--text); border: 0; }
.wordmark { font-size: 26px; font-weight: 700; letter-spacing: .22em; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.site-nav a { font-size: 16px; color: var(--text-secondary); }
.site-nav a[aria-current="page"] { color: var(--text); font-weight: 600;
                                   border-bottom: 2px solid var(--pulse); }
.navdot { width: 4px; height: 4px; border-radius: 50%; background: var(--border); }

/* ── landing ────────────────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: 1fr 340px; gap: 3rem;
        align-items: center; padding: 3.6rem 0 4rem; }
.hero h1 { font-size: clamp(2rem, 1.35rem + 2.4vw, 2.875rem); font-weight: 600;
           line-height: 1.2; letter-spacing: -.01em; margin: 1.1rem 0 0; text-wrap: balance; }
.lede { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--text-secondary);
        margin-top: 1.1rem; max-width: 46ch; }
.hero-art { justify-self: end; color: var(--text); }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 2.25rem; padding: 3rem 0 3.25rem; }
  .hero-art { justify-self: start; order: -1; }
  .hero-art svg { width: 260px; height: auto; }
}

.section { padding-bottom: 3.9rem; }
h2 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.6875rem); font-weight: 600;
     line-height: 1.3; margin: 0; }
.cards { list-style: none; margin: 1.4rem 0 0; padding: 0;
         display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
/* A card is a border, not a tint: the body stays on the page ground and only
   the illustration sits on sand, the way the mockup's image blocks did. */
.card { border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
        display: flex; flex-direction: column; }
.card-art { display: block; width: 100%; height: 140px; background: var(--surface);
            color: var(--text); }
.card-body { padding: 1.15rem 1.25rem 1.4rem; }
.card h3 { font-size: 21px; font-weight: 600; line-height: 1.3; margin: 0; }
.card p { font-size: 17px; color: var(--text-secondary); margin-top: .4rem; }

.quote { background: var(--surface); border-radius: 20px; padding: 2.4rem 2.75rem;
         margin: 0; color: var(--text);
         display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.quote-art { flex: none; color: var(--text); }
@media (max-width: 820px) { .quote-art { display: none; } }
@media (max-width: 620px) { .quote { padding: 1.6rem 1.4rem; border-radius: 16px; } }
/* Sand carries textPrimary only: textSecondary measures 3.85 here. */
.quote-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.quote-text { font-size: clamp(1.1875rem, 1.05rem + .6vw, 1.6875rem); font-weight: 500;
              line-height: 1.45; margin-top: .7rem; max-width: 44ch; }

/* ── documents ──────────────────────────────────────────────────────── */
.doc-head { padding: 3.5rem 0 1.75rem; }
.doc-head h1 { font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.375rem); font-weight: 600;
               line-height: 1.2; letter-spacing: -.01em; margin: 1rem 0 0; text-wrap: balance; }
.meta { font-size: 16px; color: var(--text-secondary); margin-top: .7rem; }
.toc { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
       padding: 1.1rem 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.toc a { font-size: 16px; color: var(--text); }
.doc-body { padding: 2rem 0 4.5rem; }
.doc-body h2 { margin-top: 3.25rem; }
.doc-body h3 { font-size: 21px; font-weight: 600; line-height: 1.35; margin: 2.1rem 0 0; }
.doc-body p { margin-top: .85rem; }
.doc-body ul { margin: .85rem 0 0; padding-left: 1.35rem; }
.doc-body li { margin-top: .55rem; }
strong, b { font-weight: 600; }

.band { background: var(--surface); border-radius: 16px; padding: 1.25rem 1.5rem;
        margin-top: 1.4rem; color: var(--text); }
.band p { margin-top: .7rem; }
.band p:first-child { margin-top: 0; }
/* The emergency line is marked by a rule, not by alarm. product-tone.md bars
   urgency styling outside the hardstop screen, which has its own design. */
.band.urgent { border-left: 3px solid var(--accent); border-radius: 0 16px 16px 0; }
.contact-label { font-size: 13px; font-weight: 600; letter-spacing: .1em; }
.contact-address { font-family: "Manrope", ui-sans-serif, sans-serif; font-size: 24px;
                   font-weight: 600; margin-top: .45rem; word-break: break-word; }

.steps { list-style: none; counter-reset: s; margin: 1.2rem 0 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 46px;
            min-height: 32px; padding-top: 2px; margin-top: .85rem; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px;
  border: 1px solid var(--border); border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 15px; color: var(--text-secondary);
}

.scroll { overflow-x: auto; margin-top: 1.3rem; }
table { border-collapse: collapse; width: 100%; min-width: 30rem; }
th { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
     color: var(--text-secondary); text-align: left; padding: 0 1rem .65rem 0;
     border-bottom: 1px solid var(--border); }
td { font-size: 17px; line-height: 1.5; padding: .9rem 1rem .9rem 0;
     border-bottom: 1px solid var(--border); vertical-align: top; }
th:last-child, td:last-child { padding-right: 0; }

/* ── footer ─────────────────────────────────────────────────────────── */
.site-foot { border-top: 1px solid var(--border); padding: 2.9rem 0 3.4rem;
             display: grid; grid-template-columns: 260px 1fr 340px; gap: 3rem; }
@media (max-width: 860px) { .site-foot { grid-template-columns: 1fr; gap: 2rem; } }
.foot-h { font-size: 12px; font-weight: 600; letter-spacing: .12em;
          color: var(--text-secondary); margin-bottom: .75rem; }
.site-foot p { font-size: 16px; color: var(--text-secondary); }
.foot-links { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.foot-links a { font-size: 16px; }
.foot-mark { font-family: "Manrope", ui-sans-serif, sans-serif; font-size: 18px;
             font-weight: 700; letter-spacing: .22em; color: var(--text); }

/* Copy legal and product own (D28). Loud on purpose: a placeholder that ships
   is worse than a missing page, because it reads as a policy. `make web.check`
   fails while any of these remain. */
.todo { background: #FFF3CD; color: #4A3A00; border: 2px dashed #A87C1B;
        padding: .8rem 1rem; border-radius: 8px; margin: 1rem 0; font-size: 16px; }
.todo::before { content: "YAYINLANMADAN ÖNCE DOLDURULACAK — "; font-weight: 600; }
