/*
 * FirstPay © 2026 — Tüm hakları saklıdır.
 * Bu dosya FirstPay Ödeme Teknolojileri'nin lisanslı yazılımının bir parçasıdır.
 */

:root {

    --paper: #ffffff;
    --ink: #0a0a0a;
    --ink-soft: #595959;
    --ink-muted: #6f6b68;
    --oat: #f7f4f1;
    --oat-deep: #efe8e2;
    --brown: #3b281d;
    --brown-deep: #2a1c14;
    --espresso: #211006;
    --copper: #a34a0f;
    --copper-bright: #e07122;
    --terracotta: #d66733;
    --green: #1e681d;
    --red: #99001c;
    --ochre: #8b6900;

    --line: rgba(10, 10, 10, 0.12);
    --line-soft: rgba(10, 10, 10, 0.07);
    --line-invert: rgba(247, 244, 241, 0.18);

    --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

    --text-xs: 0.8125rem;
    --text-sm: 0.9375rem;
    --text-base: 1.0625rem;
    --text-lg: 1.25rem;
    --text-xl: clamp(1.35rem, 1.8vw, 1.6rem);
    --text-h3: clamp(1.2rem, 1.5vw, 1.45rem);
    --text-h2: clamp(1.9rem, 3.4vw, 3.15rem);
    --text-statement: clamp(1.75rem, 3.1vw, 3rem);
    --text-display: clamp(2.7rem, 5.4vw, 5.4rem);

    --container: 1320px;
    --container-narrow: 860px;
    --gutter: clamp(18px, 4vw, 56px);
    --section-y: clamp(72px, 8.5vw, 140px);
    --stack: clamp(16px, 2vw, 28px);

    --radius-band: clamp(20px, 2.4vw, 34px);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --pill: 999px;

    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --dur-fast: 160ms;
    --dur: 240ms;
    --dur-slow: 420ms;

    --shadow-float: 0 30px 70px -40px rgba(33, 16, 6, 0.35);
    --shadow-card: 0 2px 0 rgba(255, 255, 255, 0.06) inset;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
picture,
video,
svg {
    max-width: 100%;
    display: block;
}

img {
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: 0;
}

strong {
    font-weight: 600;
}

em {
    font-style: italic;
}

::selection {
    background: var(--brown);
    color: var(--oat);
}

.container {
    width: min(100% - var(--gutter) * 2, var(--container));
    margin-inline: auto;
}

.container--narrow {
    width: min(100% - var(--gutter) * 2, var(--container-narrow));
}

main {
    display: block;
}

main:focus {
    outline: none;
}

.section {
    padding-block: var(--section-y);
}

.band {
    position: relative;
    padding-block: var(--section-y);
}

.band--oat,
.band--paper,
.band--dark {
    margin-inline: clamp(6px, 1.1vw, 14px);
    margin-block: clamp(6px, 1.1vw, 14px);
    border-radius: var(--radius-band);
}

.band--oat {
    background: var(--oat);
}

.band--paper {
    background: var(--paper);
}

.band--dark {
    background: var(--espresso);
    color: var(--oat);
}

.band--dark ::selection {
    background: var(--copper-bright);
    color: var(--espresso);
}

.section--rule {
    border-top: 1px solid var(--line-soft);
}

.display {
    font-size: var(--text-display);
    line-height: 1;
    letter-spacing: -0.045em;
    font-weight: 400;
    text-wrap: balance;
}

.statement {
    font-size: var(--text-statement);
    line-height: 1.14;
    letter-spacing: -0.035em;
    font-weight: 400;
    text-wrap: balance;
}

.h2 {
    font-size: var(--text-h2);
    line-height: 1.12;
    letter-spacing: -0.032em;
    font-weight: 400;
}

.h3 {
    font-size: var(--text-h3);
    line-height: 1.28;
    letter-spacing: -0.02em;
    font-weight: 500;
}

.lead {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    line-height: 1.55;
    letter-spacing: -0.015em;
    color: var(--ink);
}

.prose p {
    max-width: 64ch;
    color: var(--ink-soft);
}

.prose p + p {
    margin-top: 1em;
}

.muted {
    color: var(--ink-soft);
}

.small {
    font-size: var(--text-sm);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.section-head {
    max-width: 780px;
    margin-bottom: clamp(36px, 4.5vw, 72px);
}

.section-head__title {
    font-size: var(--text-h2);
    line-height: 1.12;
    letter-spacing: -0.032em;
    font-weight: 400;
    text-wrap: balance;
}

.section-head__lead {
    margin-top: 20px;
    max-width: 60ch;
    color: var(--ink-soft);
    font-size: var(--text-base);
}

.band--dark .section-head__lead {
    color: rgba(247, 244, 241, 0.72);
}

.section-head--invert .section-head__title {
    color: var(--oat);
}

.section__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: clamp(36px, 4vw, 56px);
    padding-top: 24px;
    border-top: 1px solid var(--line-soft);
}

.section__foot p {
    color: var(--ink-soft);
    font-size: var(--text-sm);
    max-width: 56ch;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding-bottom: 3px;
    transition: border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}

.link-arrow::after {
    content: "";
    width: 14px;
    height: 8px;
    background: currentColor;
    clip-path: polygon(0 45%, 70% 45%, 70% 15%, 100% 50%, 70% 85%, 70% 55%, 0 55%);
    transition: transform var(--dur) var(--ease-out);
}

.link-arrow:hover {
    border-color: var(--ink);
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

.link-arrow--light {
    color: var(--oat);
    border-color: var(--line-invert);
}

.link-arrow--light:hover {
    border-color: var(--oat);
}

.link-list {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

:focus-visible {
    outline: 2px solid var(--copper);
    outline-offset: 3px;
    border-radius: 4px;
}

.band--dark :focus-visible,
.link-pay :focus-visible,
.site-footer :focus-visible {
    outline-color: var(--copper-bright);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 300;
    background: var(--brown);
    color: var(--oat);
    padding: 12px 20px;
    border-radius: var(--pill);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: top 180ms var(--ease-out);
}

.skip-link:focus {
    top: 16px;
}

@media print {
    .site-header,
    .site-footer,
    .cta-band,
    .to-top,
    .rail,
    .link-pay {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .legal-doc__grid {
        display: block;
    }
}

[hidden] {
    display: none !important;
}
