:root {
  --ground: #faf9f6; /* Oda rehberindeki .guide-page ile aynı. */
  --ink: #252821;
  --quiet: #55594f;
  --brand: #34483c;
  --brand-hover: #24392d;
  --rule: #dedbd0;
  --soft: #efede4;
  --scene: #e7e4dd;
  --surface: #fffcf6;
  --inverse: #f8f4e9;
  --error: #952631;
  --gutter: clamp(18px, 4vw, 48px);
  --page: min(1360px, calc(100% - var(--gutter) * 2));
  --sans: "Segoe UI", system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.58 var(--serif); }
a { color: inherit; }
::selection { background: #dce0fc; color: var(--ink); }
:focus-visible { outline: 3px solid #5865c9; outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 750; letter-spacing: -.046em; line-height: 1.06; text-wrap: balance; }
h1, h2 { font-family: var(--sans); }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(34px, 4.1vw, 57px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
p { text-wrap: pretty; }
p, li { overflow-wrap: break-word; }

.skip { position: fixed; z-index: 20; top: 10px; left: var(--gutter); transform: translateY(-160%); padding: 8px 14px; background: var(--surface); }
.skip:focus { transform: none; }
.top { position: sticky; z-index: 10; top: 0; background: var(--ground); border-bottom: 1px solid var(--rule); }
.foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: var(--page); margin-inline: auto; padding-block: 13px; border-bottom: 1px solid var(--rule);
}
.brand { text-decoration: none; }
.brand span { color: var(--brand-hover); }
.top-brand { display: flex; align-items: center; gap: 18px; min-width: 0; font-family: var(--sans); }
.top-context { padding-inline-start: 18px; border-inline-start: 1px solid var(--rule); color: var(--quiet); font-size: 13px; white-space: nowrap; }
.top nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 27px); font-family: var(--sans); }
.top nav a {
  display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); text-decoration: none;
  font-size: 14px; font-weight: 650; white-space: nowrap;
}
.top nav a:not(.nav-offer):hover { text-decoration: underline; text-underline-offset: 6px; }
.top nav .nav-offer { padding-inline: 17px; border-radius: 9px; background: var(--brand); color: #fff; }
.top nav .nav-offer:hover { background: var(--brand-hover); }

main > section { width: var(--page); margin-inline: auto; padding-block: clamp(58px, 7vw, 100px); }
main > section + section { border-top: 1px solid var(--rule); }

.action, .see, .copy {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 19px;
  border: 1px solid transparent; border-radius: 9px; background: var(--brand); color: #fff;
  font: 700 15px/1.2 var(--sans); text-align: center; text-decoration: none; cursor: pointer;
  transition: background 160ms ease, color 160ms ease, translate 160ms ease;
}
.action, .see, .copy, .hero-views button { touch-action: manipulation; }
.action:hover, .see:hover { background: var(--brand-hover); }
.action:hover, .see:hover, .copy:hover { translate: 0 -2px; }
.action:active, .see:active, .copy:active { translate: 0 1px; }
.action:disabled { opacity: .55; cursor: default; translate: none; }
.action-quiet { color: var(--brand); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.action-quiet:hover { text-decoration-thickness: 2px; }

.intro {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  margin-block: clamp(23px, 3.3vw, 48px) 0;
  min-height: clamp(515px, 63vh, 640px); padding: 0;
  border-radius: 8px; overflow: clip; background: var(--brand-hover); color: var(--inverse);
}
.intro-copy { align-self: center; padding: clamp(29px, 4.4vw, 73px); }
.intro h1 { font-size: clamp(40px, 4vw, 68px); line-height: .99; letter-spacing: -.065em; text-wrap: initial; }
.intro h1 em { display: block; margin-top: .12em; font-size: .99em; letter-spacing: -.06em; }
.lead { max-width: 36ch; margin: 24px 0 32px; color: #e0e3d5; font-size: clamp(16px, 1.3vw, 18px); }
.intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 19px; }
.intro .action { color: var(--ink); background: #f7f0e1; }
.intro .action:hover { background: #e9dfca; }
.intro .action-quiet { color: var(--inverse); font-weight: 550; }
.intro :focus-visible { outline-color: #ebd2a1; }
[data-enter] { animation: settle-in 420ms cubic-bezier(.16, 1, .3, 1) both; }
.intro-demo {
  display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; background: var(--surface); color: var(--ink);
}
.intro-stage { position: relative; min-height: 400px; background: var(--scene); isolation: isolate; }
.intro-stage img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.intro-stage .intro-product { object-fit: cover; object-position: center 57%; }
.intro-stage [hidden] { display: none; }
.hero-views {
  position: absolute; z-index: 1; inset: auto 18px 18px auto; display: flex; gap: 2px; padding: 3px;
  border: 1px solid #e7dfd2; border-radius: 5px; background: var(--surface);
}
.hero-views button { min-height: 36px; padding: 6px 10px; border: 0; border-radius: 3px; color: var(--ink); background: transparent; font: 650 13px/1.25 var(--sans); cursor: pointer; }
.hero-views button:hover { background: var(--soft); }
.hero-views [aria-pressed="true"] { color: var(--inverse); background: var(--brand-hover); }
.hero-views [aria-pressed="true"]:hover { background: var(--brand); }
.product { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px clamp(15px, 2.6vw, 38px); border-top: 1px solid #d9d0c1; background: var(--surface); }
.product-info { display: grid; gap: 2px; }
.product-info strong { font-weight: 750; line-height: 1.25; }
.product-info span { color: var(--quiet); font-size: 14px; font-variant-numeric: tabular-nums; }
.product .see { flex: 0 0 auto; }
.intro-demo :focus-visible { outline-color: var(--brand); }
@keyframes settle-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }

.experience-title { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .65fr); gap: 16px 45px; align-items: end; margin-bottom: 32px; }
.experience-title p, .integration-copy p { max-width: 40ch; margin: 0; color: var(--quiet); }
.experience-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .77fr); align-items: center; gap: clamp(22px, 6vw, 90px); }
.experience-scene {
  margin: 0; overflow: clip; border-radius: 8px; border: 1px solid var(--rule);
  background: var(--scene); box-shadow: 0 17px 35px #342e2310;
}
.experience-scene img { display: block; width: 100%; height: auto; }
.experience-scene figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--rule); background: var(--surface); }
.experience-scene figcaption span { color: var(--quiet); font-size: 16px; }
.experience-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; border-top: 1px solid var(--rule); }
.experience-steps li {
  display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 4px 12px; padding: 19px 0;
  border-bottom: 1px solid var(--rule); counter-increment: step;
}
.experience-steps li::before { content: counter(step, decimal-leading-zero); grid-row: 1 / span 2; color: var(--brand); font: italic 23px/1.15 var(--serif); }
.experience-steps p { margin: 0; color: var(--quiet); }

.integration {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(25px, 6vw, 90px); align-items: center;
  padding: clamp(25px, 5vw, 76px); border: 1px solid #e0ddd2; border-radius: 8px; background: #eeece3;
}
.integration h2 { max-width: 14ch; }
.integration-copy p { margin-top: 18px; }
.snippet { min-width: 0; overflow: hidden; border-radius: 5px; background: #282e25; color: #f4f2e9; }
.snippet-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 18px; border-bottom: 1px solid #ffffff29; font-size: 15px; font-weight: 650; }
.snippet pre { margin: 0; padding: 20px 18px 24px; overflow-x: auto; font: 400 clamp(12px, 1.1vw, 15px)/1.7 ui-monospace, Consolas, monospace; }
.snippet pre code { font: inherit; }
.snippet pre:focus-visible { outline-offset: -3px; outline-color: #dccca9; }
.copy { min-height: 38px; padding-inline: 12px; background: #fff; color: var(--brand); font-size: 13px; white-space: nowrap; }
.copy:hover { background: #e8e7da; }
.snippet .copy-status { margin: 0; padding: 0 18px; color: #fff; font-size: 13px; }
.copy-status:not(:empty) { padding-bottom: 12px; }
main > .apply { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); gap: clamp(24px, 7vw, 104px); align-items: center; margin-top: clamp(54px, 8vw, 106px); margin-bottom: clamp(48px, 7vw, 89px); padding: clamp(20px, 4.7vw, 72px); border: 0; border-radius: 5px; background: var(--brand-hover); }
.apply-copy h2 { color: var(--inverse); font-size: clamp(37px, 4.1vw, 64px); line-height: 1; letter-spacing: -.05em; }
.apply-copy p { max-width: 37ch; margin: 16px 0 0; color: #e0e3d5; }
.apply-copy .apply-note { margin-top: 19px; padding-top: 14px; border-top: 1px solid #d9dfcf55; font-size: 14px; }
.apply-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 16px; padding: clamp(16px, 2.5vw, 30px); border-radius: 5px; background: var(--surface); }
.apply-form label { display: grid; gap: 5px; }
.apply-form small { color: var(--quiet); font-weight: 500; }
.apply-form .wide { grid-column: 1 / -1; }
html:has(.apply-details.follow-expansion) { overflow-anchor: none; }
.apply-details { border-block: 1px solid var(--rule); }
.apply-details summary { padding-block: 8px; color: var(--brand); font-size: 14px; font-weight: 650; cursor: pointer; }
.apply-details > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding-bottom: 13px; }
.field-error { margin: 0; color: var(--error); font-size: 13px; font-weight: 600; }
.apply-form input, .apply-form select, .apply-form textarea {
  width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid #b9b5ab; border-radius: 7px;
  background: #fff; color: var(--ink); font: 400 16px/1.4 var(--sans);
}
.apply-form textarea { resize: vertical; }
.apply-form [aria-invalid="true"] { border-color: var(--error); }
.apply-form .consent { display: flex; align-items: flex-start; gap: 9px; line-height: 1.45; color: var(--quiet); font-weight: 500; }
.apply-form .consent input { flex: 0 0 auto; width: 18px; min-height: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }
.apply-form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-row { display: grid; justify-items: start; gap: 10px; }
.form-status { margin: 0; font-size: 14px; font-weight: 650; }
.form-status[data-kind="error"] { color: var(--error); }
.form-status[data-kind="success"] { color: #1d643f; }
.foot { padding-block: 22px; border-top: 1px solid var(--rule); border-bottom: 0; color: var(--quiet); font-size: 14px; }
.foot a { color: var(--ink); font-weight: 750; text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 980px) {
  .intro-copy { padding: clamp(23px, 3vw, 38px); }
  .intro h1 { font-size: clamp(34px, 4.25vw, 53px); }
  .top-context { display: none; }
}
@media (max-width: 760px) {
  .top nav a:not(:first-child, .nav-offer) { display: none; }
  .intro, .experience-title, .experience-layout, .integration, main > .apply { grid-template-columns: minmax(0, 1fr); }
  .intro { min-height: 0; }
  .intro h1 { max-width: 16ch; font-size: clamp(34px, 8.7vw, 60px); }
  .intro-copy { padding: clamp(24px, 6vw, 52px); }
  .intro-stage { min-height: 0; aspect-ratio: 1.36; }
  .intro-actions { gap: 12px 17px; }
}
@media (max-width: 460px) {
  .apply-form, .apply-details > div { grid-template-columns: minmax(0, 1fr); }
  .experience-scene figcaption { padding-inline: 12px; }
  .hero-views { right: 9px; bottom: 9px; }
  .hero-views button { min-height: 42px; }
  .product .see { padding-inline: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-enter] { animation: none; }
  *, *::after { transition-duration: 0s !important; }
}
