/* eOnay — dijital sözleşme arayüzü. Renkler resources/css/app.css'teki küresel değişkenlerden gelir. */
:root {
    --seal: #b3261e;
    --seal-tint: rgba(179, 38, 30, .08);
    --sheet: #fdfcf8;
    --sheet-ink: #1d1c19;
    --sheet-line: #e6e2d8;
    --warn: #b45309;
    --warn-tint: rgba(180, 83, 9, .1);
    --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
}
html.dark {
    --seal: #f0786f;
    --seal-tint: rgba(240, 120, 111, .12);
    --warn: #f59e0b;
    --warn-tint: rgba(245, 158, 11, .14);
}

.ct-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.ct-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.ct-serif { font-family: var(--serif); }
.ct-muted { color: var(--ink-soft); }
.ct-section { padding: 72px 0; }
.ct-section--tight { padding: 40px 0; }
.ct-section--line { border-top: 1px solid var(--line); }
.ct-h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.04; letter-spacing: -.02em; color: var(--ink); }
.ct-h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.12; letter-spacing: -.015em; color: var(--ink); }
.ct-h3 { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; line-height: 1.25; color: var(--ink); }
.ct-lead { font-size: 1.1rem; line-height: 1.7; color: var(--ink-soft); max-width: 56ch; }
.ct-p { line-height: 1.75; color: var(--ink-soft); font-size: 15.5px; max-width: 68ch; }
.ct-prose h2 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin: 2.2rem 0 .7rem; color: var(--ink); }
.ct-prose h3 { font-size: 1.05rem; margin: 1.6rem 0 .5rem; color: var(--ink); }
.ct-prose p, .ct-prose li { line-height: 1.8; color: var(--ink-soft); font-size: 15.5px; }
.ct-prose p { margin-bottom: 1rem; max-width: 70ch; }
.ct-prose ul, .ct-prose ol { padding-left: 1.3rem; margin-bottom: 1rem; max-width: 70ch; }
.ct-prose li { margin-bottom: .4rem; }
.ct-prose a { color: var(--blue); }
.ct-prose strong { color: var(--ink); }

/* Buton */
.ct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 8px; font-size: 14.5px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.ct-btn:focus-visible, .ct-input:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ct-btn--primary { background: var(--blue); color: #fff; }
.ct-btn--primary:hover { background: var(--blue-dark); }
html.dark .ct-btn--primary { color: #0b1020; }
.ct-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.ct-btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.ct-btn--danger { background: transparent; color: var(--danger); border-color: var(--line); }
.ct-btn--danger:hover { border-color: var(--danger); background: var(--danger-tint); }
.ct-btn--sm { padding: 8px 14px; font-size: 13px; }
.ct-btn--block { width: 100%; }
.ct-btn[disabled] { opacity: .55; cursor: not-allowed; }
.ct-link { color: var(--blue); text-decoration: none; font-weight: 600; }
.ct-link:hover { text-decoration: underline; }

/* Mesaj kutuları */
.ct-flash-wrap { padding-top: 20px; }
.ct-flash { padding: 12px 16px; border-radius: 8px; font-size: 14px; line-height: 1.55; margin-bottom: 10px; border: 1px solid transparent; }
.ct-flash--ok { background: var(--success-tint); color: var(--success-dark); border-color: var(--success-tint); }
.ct-flash--err { background: var(--danger-tint); color: var(--danger); }
.ct-flash ul { margin: 6px 0 0 18px; }
.ct-flash a { color: inherit; font-weight: 700; margin-left: 8px; }
.ct-menu-balance { margin-left: auto; font-weight: 700; color: var(--ink-soft); font-size: 12.5px; }

/* ── Ana sayfa ──────────────────────────────────────────────────────────── */
.ct-hero { padding: 64px 0 80px; overflow: hidden; }
.ct-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; }
.ct-hero .ct-lead { margin: 22px 0 30px; }
.ct-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ct-hero-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-faint); }

.ct-sheet { position: relative; background: var(--sheet); color: var(--sheet-ink); border: 1px solid var(--sheet-line); border-radius: 3px; padding: 34px 34px 30px; box-shadow: 0 1px 0 var(--sheet-line), 0 18px 40px rgba(20, 20, 30, .14); transform: rotate(1.4deg); max-width: 460px; margin-left: auto; }
.ct-sheet::before { content: ""; position: absolute; inset: 8px -10px -10px 8px; background: var(--sheet); border: 1px solid var(--sheet-line); border-radius: 3px; z-index: -1; transform: rotate(-2.2deg); opacity: .8; }
.ct-sheet-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; letter-spacing: .01em; margin-bottom: 4px; }
.ct-sheet-sub { font-size: 12px; color: #7a7668; margin-bottom: 18px; }
.ct-sheet-line { height: 7px; border-radius: 4px; background: #e9e5da; margin-bottom: 9px; }
.ct-sheet-line.w90 { width: 90%; } .ct-sheet-line.w75 { width: 75%; } .ct-sheet-line.w60 { width: 60%; } .ct-sheet-line.w40 { width: 40%; }
.ct-sheet-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; padding-top: 16px; border-top: 1px dashed var(--sheet-line); }
.ct-sig { min-height: 74px; }
.ct-sig-name { font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1; color: #23305e; padding-bottom: 6px; border-bottom: 1px solid #b9b4a4; min-height: 34px; }
.ct-sig-name.is-empty { border-bottom-style: dashed; color: transparent; }
.ct-sig-meta { font-size: 11px; color: #7a7668; margin-top: 6px; line-height: 1.4; }
.ct-seal { position: absolute; right: 18px; bottom: 54px; width: 104px; height: 104px; color: var(--seal); transform: rotate(-14deg); opacity: 0; animation: ct-stamp .5s cubic-bezier(.2, .9, .3, 1.2) .9s forwards; }
@keyframes ct-stamp { 0% { opacity: 0; transform: rotate(-14deg) scale(1.9); } 60% { opacity: .95; } 100% { opacity: .88; transform: rotate(-14deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .ct-seal { animation: none; opacity: .88; } }

/* Sıralı adımlar (gerçek bir sıra olduğu için numaralı) */
.ct-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.ct-step { padding: 26px 28px 8px 0; }
.ct-step + .ct-step { padding-left: 28px; border-left: 1px solid var(--line); }
.ct-step-no { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--blue); margin-bottom: 14px; }
.ct-step p { color: var(--ink-soft); line-height: 1.7; font-size: 15px; margin-top: 8px; }

/* Şablon dizini */
.ct-ledger { border-top: 1px solid var(--line); }
.ct-ledger-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 20px 6px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .15s, padding .15s; }
.ct-ledger-row:hover { background: var(--paper-raised); padding-left: 14px; }
.ct-ledger-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--ink); }
.ct-ledger-sum { color: var(--ink-soft); font-size: 14.5px; margin-top: 3px; max-width: 62ch; }
.ct-ledger-side { display: flex; align-items: center; gap: 14px; color: var(--ink-faint); font-size: 13px; white-space: nowrap; }
.ct-tag { display: inline-block; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; color: var(--ink-soft); }
.ct-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 22px; }
.ct-tabs a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-soft); text-decoration: none; }
.ct-tabs a:hover { border-color: var(--blue); color: var(--blue); }
.ct-tabs a.is-on { background: var(--ink); color: var(--paper-raised); border-color: var(--ink); }

/* İki sütun: ne sağlar / sağlamaz */
.ct-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper-raised); }
.ct-split > div { padding: 30px 32px; }
.ct-split > div + div { border-left: 1px solid var(--line); background: var(--warn-tint); }
.ct-split h3 { margin-bottom: 14px; }
.ct-list { list-style: none; padding: 0; }
.ct-list li { position: relative; padding-left: 26px; margin-bottom: 11px; line-height: 1.6; color: var(--ink-soft); font-size: 15px; }
.ct-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--success); border-bottom: 2px solid var(--success); transform: rotate(-45deg) translateY(-3px); }
.ct-split > div + div .ct-list li::before { width: 10px; height: 10px; border: 0; background: linear-gradient(45deg, transparent 43%, var(--warn) 43% 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, var(--warn) 43% 57%, transparent 57%); transform: none; top: .4em; }

/* Fiyat */
.ct-price-box { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; border: 1px solid var(--line); background: var(--paper-raised); border-radius: 12px; padding: 36px 40px; }
.ct-price { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.ct-price small { font-size: 1rem; letter-spacing: 0; color: var(--ink-soft); font-family: inherit; margin-left: 6px; }

/* Sayfa üst bandı */
.ct-pagehead { padding: 48px 0 34px; border-bottom: 1px solid var(--line); }
.ct-pagehead .ct-lead { margin-top: 12px; }
.ct-crumb { font-size: 13px; color: var(--ink-faint); margin-bottom: 14px; }
.ct-crumb a { color: inherit; text-decoration: none; }
.ct-crumb a:hover { color: var(--blue); }

/* Şablon önizleme kağıdı */
.ct-paper { background: var(--sheet); color: var(--sheet-ink); border: 1px solid var(--sheet-line); border-radius: 3px; padding: 48px 56px; box-shadow: 0 14px 34px rgba(20, 20, 30, .1); font-family: var(--serif); font-size: 17px; line-height: 1.75; }
.ct-paper h4 { font-family: var(--serif); font-size: 1.02rem; font-weight: 600; margin: 1.5rem 0 .4rem; letter-spacing: .01em; }
.ct-paper p { margin-bottom: .8rem; white-space: pre-line; }
.ct-paper ul { margin: 0 0 .8rem 1.2rem; }
.ct-paper li { margin-bottom: .3rem; }
.ct-paper-title { font-size: 1.55rem; text-align: center; font-weight: 600; margin-bottom: 1.4rem; }
.ct-paper .blank { color: #9b958a; }
.ct-paper--clip { max-height: 540px; overflow: hidden; position: relative; }
.ct-paper--clip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(transparent, var(--sheet)); }
.ct-show-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; padding-top: 36px; padding-bottom: 72px; }
.ct-aside { position: sticky; top: 24px; border: 1px solid var(--line); background: var(--paper-raised); border-radius: 10px; padding: 24px; }
.ct-aside dl { margin: 16px 0 20px; }
.ct-aside dt { font-size: 12.5px; color: var(--ink-faint); margin-top: 12px; }
.ct-aside dd { font-size: 14.5px; color: var(--ink); margin-top: 2px; }
.ct-note { margin-top: 16px; padding: 12px 14px; border-left: 3px solid var(--warn); background: var(--warn-tint); border-radius: 0 8px 8px 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }

/* Formlar */
.ct-form { max-width: 820px; }
.ct-fieldset { border: 1px solid var(--line); border-radius: 10px; background: var(--paper-raised); padding: 26px 28px; margin-bottom: 22px; }
.ct-fieldset > legend, .ct-legend { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); padding: 0 8px; margin-left: -8px; }
.ct-field { margin-bottom: 18px; }
.ct-field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.ct-input { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font-size: 15px; font-family: inherit; line-height: 1.4; }
.ct-input:focus { border-color: var(--blue); background: var(--paper-raised); outline: none; box-shadow: 0 0 0 3px var(--blue-tint); }
textarea.ct-input { min-height: 110px; resize: vertical; line-height: 1.55; }
select.ct-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.ct-input.is-bad { border-color: var(--danger); }
.ct-hint { font-size: 12.5px; color: var(--ink-faint); margin-top: 5px; line-height: 1.5; }
.ct-err { font-size: 12.5px; color: var(--danger); margin-top: 5px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.ct-party { padding: 20px 0; border-top: 1px solid var(--line); }
.ct-party:first-of-type { border-top: 0; padding-top: 4px; }
.ct-party-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.ct-party-role { font-weight: 700; color: var(--ink); font-size: 15px; }
.ct-radio { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); cursor: pointer; }
.ct-radio input { appearance: auto; -webkit-appearance: radio; accent-color: var(--blue); width: 16px; height: 16px; }
.ct-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-soft); line-height: 1.55; cursor: pointer; }
.ct-check input { appearance: auto; -webkit-appearance: checkbox; accent-color: var(--blue); width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.ct-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.ct-feebar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-raised); margin-bottom: 18px; font-size: 14.5px; color: var(--ink-soft); }
.ct-feebar strong { color: var(--ink); font-size: 1.05rem; }

/* Durum rozetleri */
.ct-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; border: 1px solid transparent; white-space: nowrap; }
.ct-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ct-chip--draft { color: var(--ink-soft); background: var(--paper); border-color: var(--line); }
.ct-chip--pending { color: var(--warn); background: var(--warn-tint); }
.ct-chip--completed { color: var(--success-dark); background: var(--success-tint); }
.ct-chip--cancelled, .ct-chip--expired, .ct-chip--declined { color: var(--danger); background: var(--danger-tint); }
.ct-chip--signed { color: var(--success-dark); background: var(--success-tint); }

/* Panel */
.ct-panel { padding: 40px 0 72px; }
.ct-panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.ct-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 10px; background: var(--paper-raised); margin-bottom: 34px; }
.ct-stat { padding: 20px 24px; }
.ct-stat + .ct-stat { border-left: 1px solid var(--line); }
.ct-stat b { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--ink); line-height: 1.1; }
.ct-stat span { font-size: 13px; color: var(--ink-soft); }
.ct-table { width: 100%; border-collapse: collapse; background: var(--paper-raised); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ct-table th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--ink-faint); padding: 12px 18px; border-bottom: 1px solid var(--line); }
.ct-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-soft); vertical-align: middle; }
.ct-table tr:last-child td { border-bottom: 0; }
.ct-table a.ct-row-link { color: var(--ink); font-weight: 600; text-decoration: none; }
.ct-table a.ct-row-link:hover { color: var(--blue); }
.ct-progress { display: inline-flex; gap: 4px; vertical-align: middle; margin-right: 8px; }
.ct-progress i { width: 18px; height: 6px; border-radius: 3px; background: var(--line); }
.ct-progress i.on { background: var(--success); }
.ct-empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--line); border-radius: 10px; color: var(--ink-soft); }
.ct-empty .ct-h3 { margin-bottom: 8px; }

.ct-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.ct-box { border: 1px solid var(--line); border-radius: 10px; background: var(--paper-raised); padding: 22px 24px; margin-bottom: 18px; }
.ct-box h3 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 14px; color: var(--ink); }
.ct-party-line { padding: 12px 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ct-party-line:first-of-type { border-top: 0; }
.ct-party-line b { display: block; color: var(--ink); font-size: 14.5px; }
.ct-party-line small { color: var(--ink-faint); font-size: 12.5px; }
.ct-timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); margin-left: 6px; }
.ct-timeline li { position: relative; padding: 0 0 16px 20px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.ct-timeline li::before { content: ""; position: absolute; left: -6px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--paper-raised); border: 2px solid var(--ink-faint); }
.ct-timeline li.is-key::before { border-color: var(--success); background: var(--success); }
.ct-timeline li b { color: var(--ink); font-weight: 600; }
.ct-timeline time { display: block; font-size: 12px; color: var(--ink-faint); }
.ct-kv { font-size: 13px; color: var(--ink-soft); word-break: break-all; line-height: 1.6; }
.ct-kv code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; background: var(--paper); border: 1px solid var(--line); padding: 1px 6px; border-radius: 4px; color: var(--ink); }

/* ── İmza sayfası ───────────────────────────────────────────────────────── */
.sg-body { background: var(--paper); min-height: 100vh; }
.sg-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; border-bottom: 1px solid var(--line); background: var(--paper-raised); }
.sg-top a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: 17px; letter-spacing: -.3px; }
.sg-top a em { color: var(--blue); font-style: normal; }
.sg-top span { font-size: 12.5px; color: var(--ink-faint); }
.sg-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; max-width: 1160px; margin: 0 auto; padding: 36px 24px 72px; align-items: start; }
.sg-intro { margin-bottom: 20px; }
.sg-intro .ct-h2 { margin-bottom: 6px; }
.sg-card { position: sticky; top: 20px; border: 1px solid var(--line); background: var(--paper-raised); border-radius: 12px; padding: 24px; }
.sg-card h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 4px; color: var(--ink); }
.sg-who { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 18px; line-height: 1.5; }
.sg-parties { list-style: none; padding: 0; margin: 0 0 18px; border-top: 1px solid var(--line); }
.sg-parties li { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink-soft); }
.sg-parties b { color: var(--ink); font-weight: 600; }
.sg-code { font-size: 1.6rem; letter-spacing: .5em; text-align: center; font-variant-numeric: tabular-nums; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; padding-left: .5em; }
.sg-step { margin-bottom: 18px; }
.sg-step-label { font-size: 12.5px; font-weight: 700; color: var(--ink-faint); margin-bottom: 8px; }
.sg-done { text-align: center; padding: 8px 0 4px; }
.sg-done .ct-seal-static { width: 96px; height: 96px; color: var(--seal); margin: 0 auto 10px; transform: rotate(-8deg); display: block; }
.sg-legal { font-size: 12px; color: var(--ink-faint); line-height: 1.6; margin-top: 14px; }
.sg-legal a { color: inherit; }
details.sg-decline { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 13.5px; color: var(--ink-soft); }
details.sg-decline summary { cursor: pointer; }

/* Doğrulama */
.vf-verdict { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 30px 32px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-raised); margin-bottom: 22px; }
.vf-verdict .ct-seal-static { width: 104px; height: 104px; transform: rotate(-10deg); }
.vf-verdict--ok .ct-seal-static { color: var(--success); }
.vf-verdict--wait .ct-seal-static { color: var(--warn); }
.vf-verdict--bad .ct-seal-static { color: var(--danger); }
.vf-drop { display: block; border: 1.5px dashed var(--line); border-radius: 12px; padding: 30px 20px; text-align: center; color: var(--ink-soft); cursor: pointer; background: var(--paper-raised); transition: border-color .15s, background .15s; }
.vf-drop:hover, .vf-drop.is-over { border-color: var(--blue); background: var(--blue-tint); }
.vf-drop input { display: none; }
.vf-result { margin-top: 14px; font-size: 14.5px; }

/* Footer */
.ct-footer { border-top: 1px solid var(--line); background: var(--paper-raised); padding: 52px 24px 24px; }
.ct-footer-grid { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.ct-footer h4 { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.ct-footer a { display: block; font-size: 13.5px; color: var(--ink-soft); text-decoration: none; margin-bottom: 7px; }
.ct-footer a:hover { color: var(--blue); }
.ct-footer a.ct-footer-brand { display: inline-block; margin-bottom: 12px; }
.ct-footer-note { font-size: 13.5px; line-height: 1.65; color: var(--ink-soft); max-width: 34ch; }
.ct-footer-bottom { max-width: 1140px; margin: 36px auto 0; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--ink-faint); }

@media (max-width: 960px) {
    .ct-hero-grid, .ct-show-grid, .ct-detail-grid, .sg-grid { grid-template-columns: 1fr; }
    .ct-sheet { margin: 12px auto 0; transform: rotate(.8deg); }
    .ct-aside, .sg-card { position: static; }
    .ct-steps { grid-template-columns: 1fr; }
    .ct-step + .ct-step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
    .ct-split { grid-template-columns: 1fr; }
    .ct-split > div + div { border-left: 0; border-top: 1px solid var(--line); }
    .ct-price-box { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
    .ct-footer-grid { grid-template-columns: 1fr 1fr; }
    .ct-stats { grid-template-columns: 1fr 1fr; }
    .ct-stat:nth-child(3) { border-left: 0; }
    .ct-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .ct-paper { padding: 28px 22px; font-size: 16px; }
    .sg-card { order: -1; }
}
@media (max-width: 640px) {
    .ct-wrap, .ct-narrow { padding: 0 16px; }
    .ct-section { padding: 48px 0; }
    .ct-row, .ct-row--3 { grid-template-columns: 1fr; }
    .ct-ledger-row { grid-template-columns: 1fr; gap: 8px; }
    .ct-ledger-side { flex-wrap: wrap; }
    .ct-fieldset { padding: 20px 16px; }
    .ct-table, .ct-table tbody, .ct-table tr, .ct-table td { display: block; }
    .ct-table thead { display: none; }
    .ct-table tr { padding: 12px 6px; border-bottom: 1px solid var(--line); }
    .ct-table td { border: 0; padding: 4px 14px; }
    .vf-verdict { grid-template-columns: 1fr; text-align: center; }
    .vf-verdict .ct-seal-static { margin: 0 auto; }
    .ct-footer-grid { grid-template-columns: 1fr; }
    .sg-grid { padding: 20px 16px 56px; }
    .sg-top { padding: 12px 16px; }
}

/* Arama, hazır maddeler */
.ct-search { display: flex; gap: 10px; margin: 0 0 14px; max-width: 560px; }
.ct-search .ct-input { flex: 1; }
.ct-clauses { display: grid; gap: 8px; }
.ct-clause { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; background: var(--paper-raised); }
.ct-clause:hover { border-color: var(--blue); }
.ct-clause input { margin-top: 4px; flex: none; }
.ct-clause strong { display: block; font-size: 14.5px; }
.ct-clause small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
@media (max-width: 640px) { .ct-search { flex-direction: column; } }

/* ═══════════ Ana sayfa v2 (hm-) ═══════════ */
.hm-hero { position: relative; padding: 72px 0 88px; }
.hm-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(52% 70% at 88% 0%, var(--blue-tint), transparent 70%),
        linear-gradient(to right, var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
        linear-gradient(to bottom, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 78%); mask-image: linear-gradient(to bottom, #000 0%, transparent 78%); opacity: .55; }
.hm-hero > .ct-wrap { position: relative; }
.hm-h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.02; letter-spacing: -.025em; }
.hm-btn-lg { padding: 14px 24px; font-size: 15px; }
.hm-assure { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; padding: 0; }
.hm-assure li { position: relative; padding-left: 20px; font-size: 13.5px; color: var(--ink-soft); }
.hm-assure li::before { content: ""; position: absolute; left: 0; top: .42em; width: 10px; height: 6px; border-left: 2px solid var(--success); border-bottom: 2px solid var(--success); transform: rotate(-45deg); }

/* Sahne: imza anı */
.hm-stage { position: relative; padding: 26px 0 22px 20px; }
.hm-sheet { margin-left: auto; }
.hm-sheet .ct-seal { animation-delay: 3.7s; }
.hm-ink { clip-path: inset(0 100% 0 0); animation: hm-ink 1s cubic-bezier(.3, .6, .2, 1) forwards; }
.hm-ink--1 { animation-delay: 1.3s; }
.hm-ink--2 { animation-delay: 2.7s; }
.hm-late { opacity: 0; animation: hm-fade .5s ease forwards; }
.hm-late--1 { animation-delay: 2.1s; }
.hm-late--2 { animation-delay: 3.5s; }
@keyframes hm-ink { to { clip-path: inset(0 0 0 0); } }
@keyframes hm-fade { to { opacity: 1; } }

.hm-otp { position: absolute; z-index: 3; top: 0; left: 0; display: flex; flex-direction: column; gap: 3px; padding: 12px 16px; border-radius: 12px; background: var(--paper-raised); border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(20, 20, 40, .16); opacity: 0; transform: translateY(8px); }
.hm-otp-label { font-size: 11.5px; color: var(--ink-soft); }
.hm-otp-code { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .06em; color: var(--ink); font-variant-numeric: tabular-nums; }
.hm-otp--sent { animation: hm-chip-in .5s ease .2s forwards, hm-chip-out .4s ease 1.2s forwards; }
.hm-otp--ok { flex-direction: row; align-items: center; gap: 10px; padding: 12px 18px; animation: hm-chip-in .5s ease 1.9s forwards; }
.hm-otp--ok .hm-otp-label { font-size: 13.5px; font-weight: 600; color: var(--success-dark); }
.hm-otp-tick { width: 18px; height: 18px; border-radius: 50%; background: var(--success); position: relative; flex: none; }
.hm-otp-tick::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translate(-50%, -68%) rotate(-45deg); }
@keyframes hm-chip-in { to { opacity: 1; transform: none; } }
@keyframes hm-chip-out { to { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
    .hm-ink { clip-path: none; animation: none; } .hm-late { opacity: 1; animation: none; }
    .hm-otp--sent { display: none; } .hm-otp--ok { opacity: 1; transform: none; animation: none; }
}

/* Rakam bandı */
.hm-facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-raised); }
.hm-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hm-facts-grid > div { padding: 26px 22px; display: flex; flex-direction: column; gap: 4px; }
.hm-facts-grid > div + div { border-left: 1px solid var(--line); }
.hm-facts-grid strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.hm-facts-grid span { font-size: 13.5px; color: var(--ink-soft); }

/* Kategoriler */
.hm-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hm-cat { --tab: #2563eb; position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px 18px 18px; min-height: 136px; background: var(--paper-raised); border: 1px solid var(--line); border-radius: 4px 10px 10px 10px; text-decoration: none; color: inherit; transition: transform .18s ease, border-color .18s, box-shadow .18s; }
.hm-cat::before { content: ""; position: absolute; left: -1px; top: -7px; width: 46%; height: 8px; background: var(--tab); border-radius: 6px 6px 0 0; }
.hm-cat:hover { transform: translateY(-3px); border-color: var(--tab); box-shadow: 0 14px 28px rgba(20, 20, 40, .08); }
.hm-cat:nth-child(8n+2) { --tab: #b3261e; } .hm-cat:nth-child(8n+3) { --tab: #15803d; } .hm-cat:nth-child(8n+4) { --tab: #b45309; }
.hm-cat:nth-child(8n+5) { --tab: #6d28d9; } .hm-cat:nth-child(8n+6) { --tab: #0f766e; } .hm-cat:nth-child(8n+7) { --tab: #be185d; } .hm-cat:nth-child(8n+8) { --tab: #475569; }
.hm-cat-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.2; color: var(--ink); }
.hm-cat-count { font-size: 12.5px; color: var(--tab); font-weight: 600; }
.hm-cat-ex { margin-top: auto; padding-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); }

/* Adımlar */
.hm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; position: relative; }
.hm-step { background: var(--paper-raised); border: 1px solid var(--line); border-radius: 12px; padding: 22px 22px 26px; }
.hm-step p { margin-top: 8px; color: var(--ink-soft); line-height: 1.7; font-size: 15px; }
.hm-viz { height: 148px; margin-bottom: 20px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; padding: 16px; gap: 9px; overflow: hidden; }
.hm-field { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 6px; background: var(--paper-raised); border: 1px solid var(--line); font-size: 12.5px; }
.hm-field i { font-style: normal; color: var(--ink-faint); } .hm-field b { color: var(--ink); font-weight: 600; }
.hm-field--on { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.hm-viz--code { align-items: center; gap: 12px; }
.hm-code { display: flex; gap: 7px; }
.hm-code b { width: 32px; height: 42px; border-radius: 7px; background: var(--paper-raised); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.hm-code b:last-child { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.hm-viz-cap { font-size: 12px; color: var(--ink-soft); }
.hm-viz--pdf { align-items: center; }
.hm-mini-pdf { position: relative; width: 92px; height: 122px; margin-top: 4px; background: var(--sheet); border: 1px solid var(--sheet-line); border-radius: 3px; padding: 14px 12px; display: flex; flex-direction: column; gap: 7px; box-shadow: 0 8px 18px rgba(20, 20, 40, .12); transform: rotate(-3deg); }
.hm-mini-pdf span { height: 5px; border-radius: 3px; background: #e2ddcf; } .hm-mini-pdf span:nth-child(2) { width: 70%; } .hm-mini-pdf span:nth-child(3) { width: 50%; }
.hm-mini-seal { position: absolute; right: -14px; bottom: -12px; width: 54px; height: 54px; color: var(--seal); transform: rotate(-12deg); opacity: .9; }

/* Kayıt bölümü (her iki temada koyu) */
.hm-proof { background: #0f1530; color: #e6e9f5; padding: 84px 0; }
.hm-proof .ct-h2 { color: #fff; }
.hm-proof-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
.hm-proof-lead { margin: 14px 0 28px; color: #aab1cf; line-height: 1.7; max-width: 52ch; }
.hm-proof-list { display: grid; gap: 18px; margin-bottom: 30px; }
.hm-proof-list > div { padding-left: 18px; border-left: 2px solid rgba(255, 255, 255, .16); }
.hm-proof-list dt { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: #fff; }
.hm-proof-list dd { margin-top: 3px; font-size: 14.5px; line-height: 1.65; color: #aab1cf; }
.hm-btn-light { background: #fff; color: #0f1530; border-color: #fff; }
.hm-btn-light:hover { background: #e9edff; }
.hm-chain { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 22px 22px 14px; }
.hm-chain-head { font-size: 13px; color: #aab1cf; margin-bottom: 14px; }
.hm-chain ol { list-style: none; padding: 0; position: relative; }
.hm-chain ol::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 18px; width: 2px; background: rgba(255, 255, 255, .16); }
.hm-chain li { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 2px 12px; padding: 0 0 18px 26px; }
.hm-chain li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #0f1530; border: 2px solid #7da2ff; }
.hm-chain li.is-final::before { background: #4ade80; border-color: #4ade80; }
.hm-chain time { font-size: 12.5px; color: #8e97bd; font-variant-numeric: tabular-nums; padding-top: 2px; }
.hm-chain li span { font-size: 14.5px; color: #fff; }
.hm-chain code { grid-column: 2; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 11.5px; color: #8e97bd; }

/* Yanında gelenler */
.hm-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.hm-feat { border: 1px solid var(--line); border-radius: 12px; background: var(--paper-raised); padding: 22px 22px 26px; }
.hm-feat p { margin-top: 8px; color: var(--ink-soft); line-height: 1.7; font-size: 15px; }
.hm-chips, .hm-reminder, .hm-open { min-height: 108px; margin-bottom: 18px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); padding: 16px; }
.hm-chips { display: flex; flex-wrap: wrap; gap: 8px; align-content: center; }
.hm-chips span { padding: 6px 12px; border-radius: 999px; background: var(--paper-raised); border: 1px solid var(--line); font-size: 13px; color: var(--ink); }
.hm-chips span:nth-child(2n) { border-color: var(--blue); color: var(--blue); background: var(--blue-tint); }
.hm-reminder { display: flex; align-items: center; gap: 14px; }
.hm-reminder b { font-family: var(--serif); font-weight: 500; font-size: 3.6rem; line-height: 1; color: var(--seal); letter-spacing: -.03em; }
.hm-reminder span { font-size: 14px; color: var(--ink-soft); line-height: 1.4; }
.hm-open { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.hm-open span { align-self: flex-start; padding: 7px 14px; border-radius: 8px; background: var(--paper-raised); border: 1px solid var(--line); font-size: 13px; color: var(--ink); }
.hm-open span:nth-child(2) { margin-left: 22px; } .hm-open span:nth-child(3) { margin-left: 44px; border-color: var(--success); color: var(--success-dark); }

/* Rehber kartları (ana sayfa + yazı sonu) */
.hm-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hm-post { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-raised); text-decoration: none; color: inherit; transition: border-color .18s, transform .18s; }
.hm-post:hover { border-color: var(--blue); transform: translateY(-2px); }
.hm-post-date { font-size: 12.5px; color: var(--ink-faint); }
.hm-post-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.25; color: var(--ink); }
.hm-post-sum { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }

/* Alt çağrı */
.hm-cta { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; padding: 48px 52px; border-radius: 16px; background: linear-gradient(135deg, #1d4ed8, #2563eb 55%, #3b82f6); color: #fff; position: relative; overflow: hidden; }
.hm-cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .08); }
.hm-cta-big { font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -.03em; position: relative; }
.hm-cta-h { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; position: relative; }
.hm-cta p { margin: 8px 0 20px; line-height: 1.65; color: rgba(255, 255, 255, .86); max-width: 52ch; position: relative; }
.hm-cta-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; position: relative; }
.hm-cta-link { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.hm-sticky { display: none; }

/* Rehber / blog */
.bg-crumb { display: flex; gap: 8px; font-size: 13px; color: var(--ink-faint); margin-bottom: 14px; }
.bg-crumb a { color: var(--ink-soft); text-decoration: none; } .bg-crumb a:hover { color: var(--blue); }
.bg-meta { font-size: 12.5px; color: var(--ink-faint); }
.bg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.bg-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-raised); overflow: hidden; text-decoration: none; color: inherit; transition: transform .18s, border-color .18s, box-shadow .18s; }
.bg-card:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 16px 30px rgba(20, 20, 40, .08); }
.bg-card--lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr 1fr; }
.bg-cover { position: relative; display: block; min-height: 180px; background: var(--c1, #1d4ed8); overflow: hidden; }
.bg-card--lead .bg-cover { min-height: 280px; }
.bg-cover--img { background-size: cover; background-position: center; }
.bg-cover--c0 { --c1: #1d3a8a; } .bg-cover--c1 { --c1: #8f1d17; } .bg-cover--c2 { --c1: #166534; }
.bg-cover--c3 { --c1: #92400e; } .bg-cover--c4 { --c1: #5b21b6; } .bg-cover--c5 { --c1: #115e59; }
.bg-cover-lines { position: absolute; left: 26px; top: 28px; width: 46%; display: grid; gap: 10px; }
.bg-cover-lines i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .22); } .bg-cover-lines i:nth-child(2) { width: 80%; } .bg-cover-lines i:nth-child(3) { width: 55%; }
.bg-cover-seal { position: absolute; right: 22px; bottom: 18px; width: 92px; height: 92px; color: rgba(255, 255, 255, .55); transform: rotate(-12deg); }
.bg-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; justify-content: center; }
.bg-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1.22; color: var(--ink); }
.bg-card--lead .bg-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.bg-sum { font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }
.bg-more { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--blue); }
.bg-article { font-size: 17px; }
.bg-article p, .bg-article li { font-size: 17px; line-height: 1.85; }
.bg-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin: 40px 0 8px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-raised); }

/* Şablon sekmelerinde sayaç */
.ct-tabs small { margin-left: 5px; font-size: 11.5px; opacity: .65; }

@media (max-width: 960px) {
    .hm-hero { padding: 40px 0 56px; }
    .hm-stage { padding: 56px 0 6px; }
    .hm-sheet { margin: 0 auto; }
    .hm-otp { left: 4%; }
    .hm-facts-grid { grid-template-columns: 1fr 1fr; }
    .hm-facts-grid > div:nth-child(3) { border-left: 0; }
    .hm-facts-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .hm-cats { grid-template-columns: repeat(2, 1fr); }
    .hm-steps, .hm-feats, .hm-posts, .bg-grid { grid-template-columns: 1fr; }
    .hm-proof { padding: 56px 0; }
    .hm-proof-grid { grid-template-columns: 1fr; gap: 36px; }
    .hm-cta { grid-template-columns: 1fr; gap: 16px; padding: 34px 26px; }
    .bg-card--lead { grid-template-columns: 1fr; }
    .bg-card--lead .bg-cover { min-height: 200px; }
}
@media (max-width: 640px) {
    .hm-h1 { font-size: 2.35rem; }
    .hm-hero-actions .ct-btn, .ct-hero-actions .ct-btn { flex: 1 1 100%; }
    .hm-cats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hm-cat { min-height: 112px; padding: 20px 14px 14px; }
    .hm-cat-name { font-size: 1.02rem; }
    .hm-cat-ex { display: none; }
    .hm-facts-grid > div { padding: 18px 14px; }
    .hm-chain li { grid-template-columns: 1fr; padding-left: 24px; }
    .hm-sticky { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; padding: 10px; border-radius: 12px; background: var(--paper-raised); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(20, 20, 40, .22); transform: translateY(140%); transition: transform .25s ease; }
    .hm-sticky.is-on { transform: none; }
    .hm-assure { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) { .hm-cat, .hm-post, .bg-card, .hm-sticky { transition: none; } }

/* Mühür belge kenarına taşar */
.hm-sheet .ct-seal { right: -16px; bottom: 30px; width: 112px; height: 112px; }
@media (max-width: 640px) { .hm-sheet .ct-seal { right: -8px; width: 92px; height: 92px; } .hm-stage { padding-top: 48px; } }
@media (max-width: 640px) {
    .hm-sheet .ct-seal { right: 12px; top: 12px; bottom: auto; width: 70px; height: 70px; }
    .hm-chain li { text-align: left; justify-items: start; }
    .hm-chain code { grid-column: 1; }
    .hm-cat { min-height: 92px; }
}

/* ═══════════ Giriş alanı v3 ═══════════ */
.hm-wide { max-width: 1240px; }
.hm-hero { padding: 84px 0 104px; }
.hm-hero .ct-hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; }
.hm-h1 { font-size: clamp(2.5rem, 4.6vw, 3.9rem); line-height: 1.05; letter-spacing: -.028em; text-wrap: balance; }
.hm-hero .ct-lead { font-size: 1.14rem; max-width: 52ch; }
.hm-assure { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 52ch; }

.hm-stage { padding: 30px 0 118px 10px; }
.hm-stage::before { content: ""; position: absolute; z-index: 0; inset: 2% -6% 4% 4%; border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
    background: radial-gradient(closest-side, var(--blue-tint), transparent 100%); opacity: .9; pointer-events: none; }
.hm-sheet { position: relative; z-index: 1; max-width: 500px; padding: 40px 40px 34px; font-family: var(--serif); }
.hm-sheet .ct-sheet-title { font-size: 1.3rem; }
.hm-clause { font-size: 13.5px; line-height: 1.55; color: #4a483f; margin: 0 0 9px; }
.hm-clause b { color: var(--sheet-ink); font-weight: 600; }
.hm-sheet .ct-sheet-sign { margin-top: 22px; }
.hm-hash { margin-top: 18px; font-family: Inter, system-ui, sans-serif; font-size: 10.5px; letter-spacing: .02em; color: #8a8576; }

.hm-log { list-style: none; margin: 0; padding: 14px 16px; position: absolute; z-index: 3; left: -34px; bottom: -4px; width: 258px;
    background: var(--paper-raised); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 36px rgba(20, 20, 40, .16); }
.hm-log li { position: relative; padding: 5px 0 5px 18px; font-size: 12.5px; color: var(--ink); line-height: 1.35; }
.hm-log li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.hm-log li + li::after { content: ""; position: absolute; left: 3.5px; top: -4px; width: 1px; height: 10px; background: var(--line); }
.hm-log time { display: inline-block; min-width: 38px; margin-right: 4px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.hm-late--0 { animation-delay: .6s; }
.hm-log .hm-late--3 { animation-delay: 4.0s; }

@media (max-width: 960px) {
    .hm-hero .ct-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .hm-hero { padding: 44px 0 60px; }
    .hm-stage { padding: 56px 0 0; }
    .hm-log { position: relative; left: auto; bottom: auto; width: auto; max-width: 460px; margin: 18px auto 0; }
}
@media (max-width: 640px) {
    .hm-br { display: none; }
    .hm-sheet { padding: 28px 22px 24px; }
    .hm-assure { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .hm-late { opacity: 1; animation: none; } }