/* fudayl.com: one stylesheet for every page. Kasa's colours and type come from the app's tokens
   (kasa/packages/ui/src/tokens.ts); the dark palette is the one the app keeps in reserve. No script, no third party:
   the fonts are served from here. */

@font-face {
  font-family: "Jakarta";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* the brand face draws only the word "kasa" and the mark's k; block keeps a fallback k from flashing in the door */
@font-face {
  font-family: "Kasa Brand";
  font-style: normal;
  font-display: block;
  font-weight: 600;
  src: url(/assets/fonts/montserrat-alternates-latin-600-normal.woff2) format("woff2");
}

:root {
  --bg: #ffffff;
  --surf: #eff8f6;
  --surf3: #e4f2ef;
  --ink: #0f1719;
  --ink2: #36474b;
  --mute: #5f6e72;
  --rule: #e3eceb;
  --primary: #0d9488;
  --primary-ink: #0b5a54;
  --primary-soft: #d9f0ec;
  --rise: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121a1d;
    --surf: #1b262a;
    --surf3: #223036;
    --ink: #e6ecee;
    --ink2: #bcc7cb;
    --mute: #879297;
    --rule: #253137;
    --primary: #2dd4bf;
    --primary-ink: #5fe3d1;
    --primary-soft: #11312e;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 460 17px/1.6 "Jakarta", ui-sans-serif, -apple-system, "Segoe UI", system-ui, sans-serif;
  font-feature-settings: "ss01" 0;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--primary-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  z-index: 10;
}
.skip:focus {
  top: 12px;
}

/* the mark: the door, its two hinges, the k cut out and the handle (identity v15), as KasaMark draws it */
.mark {
  display: block;
  flex: none;
}
.mark .door {
  fill: var(--primary);
}
.mark .cut {
  fill: var(--bg);
}
.mark text {
  font-family: "Kasa Brand", sans-serif;
  font-weight: 600;
}
.wordmark {
  font-family: "Kasa Brand", sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

/* ---------- the page column shared by Kasa's documents ---------- */
.page {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 16px 64px;
}
@media (min-width: 640px) {
  .page {
    padding: 0 32px 96px;
  }
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 22px;
  line-height: 1;
}
.brand .wordmark {
  transform: translateY(-1px);
}
.page {
  position: relative;
}
.corner {
  position: absolute;
  top: 22px;
  right: 16px;
}
@media (min-width: 640px) {
  .corner {
    right: 32px;
  }
}
a.lang {
  font-size: 15px;
  font-weight: 600;
}

.doc {
  padding-top: 40px;
}
.doc h1 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 2.75rem);
  line-height: 1.1;
}
.doc .when {
  margin-top: 10px;
  color: var(--mute);
  font-size: 15px;
}
.doc .lede {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink2);
  max-width: 36rem;
}
.doc h2 {
  margin-top: 44px;
  font-size: 21px;
  line-height: 1.3;
}
.doc h3 {
  margin-top: 30px;
  font-size: 17px;
  line-height: 1.4;
}
.doc h2 + p,
.doc h3 + p,
.doc h2 + ul {
  margin-top: 10px;
}
.doc p + p,
.doc ul + p,
.doc p + ul {
  margin-top: 12px;
}
.doc p,
.doc li {
  max-width: 36rem;
  color: var(--ink2);
}
.doc ul {
  margin-bottom: 0;
  padding-left: 1.2em;
}
.doc li + li {
  margin-top: 6px;
}
.doc strong {
  color: var(--ink);
  font-weight: 650;
}
.path {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

/* the facts the app's own Yardım screen shows under "Verilerin sende" */
.yours {
  margin: 32px 0 0;
  padding: 18px 20px;
  max-width: 26rem;
  background: var(--surf);
  border-radius: 16px;
}
.yours h2 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 650;
  color: var(--primary-ink);
  letter-spacing: 0;
}
.yours dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto;
}
.yours dt,
.yours dd {
  margin: 0;
  padding: 9px 0;
  border-top: 1px solid var(--surf3);
}
.yours dt {
  color: var(--ink2);
}
.yours dd {
  color: var(--ink);
  font-weight: 650;
  text-align: right;
}
.yours :is(dt, dd):nth-of-type(1) {
  border-top: 0;
}

.mail {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}
@media (prefers-color-scheme: dark) {
  .mail {
    color: var(--bg);
  }
}
.mail:hover {
  filter: brightness(1.06);
}

.foot {
  margin-top: 72px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 15px;
  color: var(--mute);
}
.foot a {
  color: var(--ink2);
}
.foot .who {
  margin-left: auto;
}
@media (max-width: 520px) {
  .foot .who {
    margin-left: 0;
    flex-basis: 100%;
  }
}

/* ---------- /kasa: the app's first screen, opened on the web ---------- */
.land {
  --mark: 96px;
  --mark-at: 150px; /* the mark's centre, from the top, where the intro leaves it */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: calc(var(--mark-at) - var(--mark) / 2);
}
.land .mark {
  width: var(--mark);
  height: var(--mark);
}
.land h1 {
  margin-top: 8px;
  font-size: 48px;
  line-height: 1.15;
  font-weight: 600;
}
.land .slogan {
  margin-top: 6px;
  font-size: 21px;
  line-height: 1.4;
  color: var(--ink2);
  font-weight: 560;
}
.facts {
  list-style: none;
  margin: 40px auto 0;
  padding: 0;
  display: grid;
  gap: 22px;
  text-align: left;
  max-width: 23rem;
}
.facts li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  color: var(--ink);
  line-height: 1.45;
}
.facts svg {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.soon {
  margin-top: 40px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--surf);
  color: var(--ink2);
  font-size: 15px;
  font-weight: 560;
}
.note {
  margin-top: 14px;
  color: var(--mute);
  font-size: 14px;
  max-width: 22rem;
}

/* the intro: the mark waits in the middle at the splash's size, rises to its place, and the words follow */
@media (prefers-reduced-motion: no-preference) {
  .land.intro .mark {
    animation: rise 0.6s var(--rise) 0.25s both;
  }
  .land.intro .after {
    animation: arrive 0.45s ease both;
  }
  .land.intro h1.after {
    animation-delay: 0.7s;
  }
  .land.intro .slogan.after {
    animation-delay: 0.8s;
  }
  .land.intro .facts.after {
    animation-delay: 0.92s;
  }
  .land.intro .soon.after,
  .land.intro .note.after,
  .land.intro .corner.after {
    animation-delay: 1.04s;
  }
}
@keyframes rise {
  from {
    transform: translateY(calc(50svh - var(--mark-at))) scale(1.146);
  }
  to {
    transform: none;
  }
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- the root: a name and where to find things, until the portfolio ---------- */
.home {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(72px, 18vh, 180px) 16px 64px;
}
@media (min-width: 640px) {
  .home {
    padding-left: 32px;
    padding-right: 32px;
  }
}
.home h1 {
  font-size: clamp(2.5rem, 1.6rem + 4vw, 4rem);
  line-height: 1.05;
  font-weight: 750;
  letter-spacing: -0.025em;
}
.home .line {
  margin-top: 14px;
  font-size: 19px;
  color: var(--ink2);
}
.places {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.places li {
  border-bottom: 1px solid var(--rule);
}
.places a {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 4px 20px;
  padding: 18px 0;
  color: var(--ink);
  text-decoration: none;
}
.places a:hover .what {
  color: var(--ink);
}
.places .name {
  font-weight: 700;
}
.places .what {
  color: var(--ink2);
}
.places .where {
  grid-column: 2;
  color: var(--primary-ink);
  font-size: 15px;
}
@media (max-width: 520px) {
  .places a {
    grid-template-columns: 1fr;
  }
  .places .where {
    grid-column: 1;
  }
}
