:root {
  color-scheme: light;
  --ink: #5a2618;
  --paper: #fcfaf5;
  --link: #963c2b;
  --muted: #754737;
  --line: rgb(126 72 42 / 17%);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.8 system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 34rem;
  background: linear-gradient(rgb(252 250 245 / 82%), var(--paper)),
    url('/assets/istanbul-golden-horn-oil-master-v2-1280.webp') center 48% / cover;
  pointer-events: none;
}
a { color: var(--link); text-underline-offset: .25em; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 3px solid #177b9d; outline-offset: 4px; }
header, main, footer { width: min(100% - 3rem, 46rem); margin-inline: auto; }
header { position: relative; padding: 3rem 0 2rem; text-align: center; }
header::before {
  content: "";
  display: block;
  width: 7rem;
  height: 5rem;
  margin: 0 auto 1.25rem;
  background: url('/assets/kucuksu-kasri-emblem.png') center / contain no-repeat;
  mix-blend-mode: multiply;
}
.brand { font-family: var(--serif); letter-spacing: .22em; font-size: .85rem; text-transform: uppercase; text-decoration: none; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.35rem, 5vw, 3.7rem); letter-spacing: -.035em; text-wrap: balance; margin: 1.25rem 0; }
h2 { font-size: 1.6rem; letter-spacing: -.02em; margin: 2.5rem 0 .8rem; }
.updated { font-size: .75rem; letter-spacing: .04em; color: var(--muted); }
main { padding: 2rem clamp(1.25rem, 4vw, 3rem) 3rem; border: 1px solid var(--line); border-radius: 1rem; background: rgb(255 253 249 / 90%); box-shadow: 0 .5rem 2rem rgb(72 43 28 / 3%); }
main > p:first-child { margin-top: 0; }
p { margin: 0 0 1rem; }
.summary { border: 1px solid rgb(173 69 50 / 14%); border-radius: .65rem; background: #f8f1eb; padding: 1.2rem 1.4rem; margin: 1.75rem 0 2rem; font-size: .95rem; }
.summary strong { display: block; margin-bottom: .45rem; font-weight: 600; }
footer { padding: 1.75rem 0 3rem; margin-top: .5rem; font-size: .8rem; }
nav { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1.5rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 480px) {
  header, main, footer { width: calc(100% - 2rem); }
  header { padding: 2rem .5rem 1.5rem; }
  header::before { width: 6rem; height: 4.5rem; margin-bottom: 1rem; }
  main { padding: 1.5rem 1.25rem 2rem; }
  h2 { font-size: 1.45rem; }
  .summary { padding: 1rem; }
}
ol { padding-left: 1.4rem; margin: 0 0 1rem; }
li { margin-bottom: .5rem; }
.script { margin: 0 0 1.25rem; padding: 1rem 1.25rem; border-left: 3px solid rgb(173 69 50 / 35%); border-radius: .35rem; background: #f8f1eb; font-size: .95rem; overflow-wrap: anywhere; }
.signup { display: grid; gap: .35rem; margin: 0 0 1.5rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: .8rem; background: #fff; }
.signup label { font-weight: 600; font-size: .9rem; }
.signup input:not([type=checkbox]) { width: 100%; min-height: 44px; margin-bottom: .6rem; padding: .55rem .75rem; border: 1px solid rgb(126 72 42 / 35%); border-radius: .5rem; font: inherit; color: inherit; background: var(--paper); }
.signup input:focus-visible, .signup button:focus-visible { outline: 3px solid #177b9d; outline-offset: 2px; }
.signup .consent input { width: 1.15rem; height: 1.15rem; margin: 0 .4rem 0 0; vertical-align: -.2rem; accent-color: var(--link); }
.signup button { justify-self: start; min-height: 44px; padding: .6rem 1.4rem; border: 0; border-radius: 999px; font: 600 .95rem system-ui, -apple-system, sans-serif; color: #fff; background: var(--link); cursor: pointer; }
.signup button:hover { background: var(--ink); }
.signup button:disabled { opacity: .6; cursor: wait; }
.signup .website { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hint { margin: -.3rem 0 .6rem; font-size: .8rem; color: var(--muted); }
.status { margin: .4rem 0 0; font-size: .9rem; font-weight: 600; }
.status:empty { display: none; }
.signup fieldset.consent { margin: .4rem 0 .8rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: .6rem; }
.signup fieldset.consent legend { padding: 0 .35rem; font-weight: 600; font-size: .9rem; }
.signup fieldset.consent label { display: block; font-weight: 400; font-size: .85rem; line-height: 1.55; }
