/* Tanıtım sayfası ve giriş ekranları: mektup / uçak postası teması */
:root {
    --paper: #f8f4ec;
    --card: #fdfaf4;
    --line: #e3d9c8;
    --ink: #17223b;
    --ink-soft: #5b6478;
    --red: #c9302c;
    --red-dark: #a92622;
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Manrope", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body.site {
    margin: 0;
    min-height: 100vh;
    background: var(--paper);
    color: var(--ink);
    font: 15px/1.6 var(--sans);
}

/* Uçak postası şeridi */
.airmail {
    height: 7px;
    background: repeating-linear-gradient(90deg, var(--red) 0 22px, transparent 22px 30px, var(--ink) 30px 52px, transparent 52px 60px);
}

a { color: inherit; }

.site-wrap {
    width: min(976px, 100% - 32px);
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 26px 0;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ink);
    font: 500 21px/1 var(--serif);
    letter-spacing: -.01em;
    text-decoration: none;
}

.brand-logo svg { width: 24px; height: 24px; color: var(--red); flex: 0 0 auto; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 6px;
    font: 600 14px/1 var(--sans);
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, border-color .15s, box-shadow .15s, transform .15s;
}

.btn-outline {
    border-color: var(--line);
    background: var(--card);
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(23, 34, 59, .06);
}

.btn-outline:hover { border-color: #cdbfa8; }

.btn-red {
    background: var(--red);
    color: #fff;
    box-shadow: 0 2px 6px rgba(201, 48, 44, .22);
}

.btn-red:hover { background: var(--red-dark); }

.btn:focus-visible, .field input:focus-visible { outline: 3px solid rgba(201, 48, 44, .25); outline-offset: 2px; }

/* Ana sayfa */
.hero { padding: 70px 0 64px; }

.hero h1 {
    max-width: 760px;
    margin: 0;
    font: 400 clamp(40px, 7vw, 74px)/1.05 var(--serif);
    letter-spacing: -.025em;
    font-variation-settings: "opsz" 144;
}

.hero h1 em { color: var(--red); font-style: italic; }

.hero p {
    max-width: 520px;
    margin: 26px 0 32px;
    color: var(--ink-soft);
    font-size: 17px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-bottom: 72px;
}

.feature {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--card);
}

.feature svg { width: 22px; height: 22px; color: var(--red); }

.feature h2 {
    margin: 12px 0 6px;
    font: 500 21px/1.25 var(--serif);
}

.feature p { margin: 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.55; }

/* Giriş ekranları */
.auth-page {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 40px 16px;
}

.letter {
    position: relative;
    width: min(384px, 100%);
    padding: 40px 32px 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--card);
    box-shadow: 0 10px 30px rgba(23, 34, 59, .08);
    overflow: hidden;
}

.letter::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 7px;
    background: repeating-linear-gradient(90deg, var(--red) 0 18px, transparent 18px 24px, var(--ink) 24px 42px, transparent 42px 48px);
}

.letter .brand-logo { margin-bottom: 14px; }

.letter-lead { margin: 0 0 22px; color: var(--ink-soft); }

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 14px;
}

.field small { color: var(--ink-soft); font-weight: 500; }

.field input {
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d9cfbe;
    border-radius: 6px;
    background: #fffdf9;
    color: var(--ink);
    font: 400 15px var(--sans);
}

.field input:focus { border-color: var(--red); }

.letter .btn-red { width: 100%; margin-top: 4px; min-height: 42px; }

.letter-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--ink-soft);
    font-size: 14px;
    text-align: center;
}

.letter-links a { color: var(--ink-soft); text-underline-offset: 3px; }

.letter-links a:hover { color: var(--red); }

.notice-letter {
    margin: 0 0 18px;
    padding: 10px 12px;
    border-left: 3px solid var(--ink);
    border-radius: 4px;
    background: #f1ebe0;
    font-size: 13.5px;
}

.notice-letter.notice-error { border-color: var(--red); background: #f9e6e2; }

.notice-letter.notice-success { border-color: #2f7d55; background: #e5f1e8; }

@media (max-width: 760px) {
    .features { grid-template-columns: 1fr; }
    .hero { padding: 40px 0 44px; }
}
