/*
 * Pulso's website — one stylesheet for all four pages.
 *
 * Transcribed from the "Pulso Website" design in the Pulso project in Claude
 * Design (and its three sub-pages). The desktop sizes are the design's own at
 * two-thirds: Claude Design shows its canvas at that scale, so its raw numbers
 * render half as large again in a browser (the owner's catch, 2 Nov 2026). The design was drawn for a wide screen only; everything under the
 * `max-width` blocks at the bottom is what makes it fit a phone, added on the
 * owner's ask of 2 November 2026.
 *
 * The font is served from this folder rather than from Google Fonts. Loading
 * it from Google hands every visitor's IP address to Google, which is a
 * transfer abroad the privacy policy does not mention — the same reasoning
 * that took Gmail out of the contact form's path in `worker/feedback.js`.
 */

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url(fonts/nunito-sans-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url(fonts/nunito-sans-latin.woff2) format('woff2');
  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;
}

:root {
  --ink: #003049;
  --teal: #004E64;
  --mint: #9FFFCB;
  --page: #EEF2F1;
  --card: #FAFAFB;
  --field: #F4F6F6;
  --dot: #21A85B;
  --error: #ED254E;
  --dark-gradient: linear-gradient(180deg, #004E64, #003049);
  --card-shadow: 0 1px 2px rgba(0,48,73,.06), 0 8px 21px rgba(0,48,73,.08);
  --phone-shadow: 0 8px 20px rgba(0,0,0,.18), 0 27px 67px rgba(0,0,0,.28);
}

* { scrollbar-width: none; box-sizing: border-box; }
*::-webkit-scrollbar { display: none; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); font-family: 'Nunito Sans', system-ui, sans-serif; overflow-x: hidden; }
body.plain { background: #FFFFFF; }
a { color: var(--ink); }
a:hover { color: var(--teal); }
img { max-width: 100%; }

/* ── Nav ─────────────────────────────────────────────────────────────── */

.nav { position: sticky; top: 0; z-index: 20; background: var(--teal); }
.nav-in { max-width: 800px; margin: 0 auto; padding: 13.33px 16px; display: flex; align-items: center; gap: 26.67px; }
.nav-logo { flex: 1; font-size: 28px; font-weight: 900; letter-spacing: -.02em; line-height: 1; color: var(--mint); text-decoration: none; }
.nav-logo:hover { color: var(--mint); }
.nav-links { display: flex; align-items: center; gap: 26.67px; font-size: 16px; font-weight: 700; white-space: nowrap; }
.nav-links a { color: var(--mint); text-decoration: none; }
.nav-links a:hover { color: #FFFFFF; }
.nav-cta { display: inline-flex; align-items: center; height: 40px; padding: 0 21.33px; border-radius: 20px; background: var(--mint); color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 900; white-space: nowrap; flex: none; }
.nav-cta:hover { background: #FFFFFF; color: var(--ink); }

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero { background: var(--dark-gradient); color: var(--mint); padding: clamp(42.67px,5.33vw,74.67px) 16px 0; overflow: hidden; }
.hero-in { max-width: 933.33px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18.67px; }
.hero h1 { font-size: clamp(45.33px,7vw,104px); line-height: 1; font-weight: 900; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.hero p { font-size: clamp(20px,2.27vw,30.67px); line-height: 1.3; font-weight: 300; margin: 0; text-wrap: pretty; max-width: 546.67px; color: rgba(159,255,203,.92); }
.hero b { font-weight: 900; }

.store-badge { display: block; transition: transform .15s; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { display: block; height: 48px; width: auto; }

.logos { position: relative; max-width: 933.33px; margin: 48px auto 0; height: 293.33px; }
.logos-rows {
  position: absolute; left: 0; right: 0; top: 16px;
  display: flex; flex-direction: column; gap: 32px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.logos-row { display: flex; gap: 37.33px; justify-content: center; }
.logos-row.shift { transform: translateX(53.33px); }
.logos-row img { width: 69.33px; height: 53.33px; flex: none; object-fit: contain; }

/* ── Feature sections ────────────────────────────────────────────────── */

.feature { background: var(--page); padding: 21.33px clamp(10.67px,2vw,32px); }
.feature.first { padding-top: 42.67px; }
.feature.last { padding-bottom: 42.67px; }
.feature-card { background: var(--card); color: var(--ink); padding: clamp(48px,6vw,85.33px) 16px; border-radius: clamp(18.67px,2vw,32px); overflow: hidden; box-shadow: var(--card-shadow); }
.feature-card.dark { background: var(--dark-gradient); color: var(--mint); }
.feature-card.flush-bottom { padding-bottom: 0; }
.feature-in { max-width: 1066.67px; margin: 0 auto; padding: 0 clamp(0px,1.33vw,26.67px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(37.33px,5.33vw,106.67px); }
.feature-in.reverse { flex-direction: row-reverse; }
.feature-in.bottom { align-items: flex-end; }
.feature-text { flex: 1 1 280px; min-width: 0; max-width: 506.67px; display: flex; flex-direction: column; gap: 18.67px; }
.feature-in.bottom .feature-text { align-self: center; padding-bottom: clamp(0px,4vw,64px); }
.feature-text svg, .feature-icon { display: block; width: 48px; height: 48px; flex: none; }
.feature-text svg.big { width: 58.67px; height: 58.67px; }
.feature h2 { font-size: clamp(37.33px,4.67vw,85.33px); line-height: 1; font-weight: 900; letter-spacing: .01em; margin: 0; text-wrap: balance; }
.feature p { font-size: clamp(20px,2.27vw,30.67px); line-height: 1.3; font-weight: 300; margin: 0; text-wrap: pretty; }
.feature b { font-weight: 900; }

/* "sekiz:otuz", with the colon drawn as two dots the way the app draws it. */
.sekiz { display: inline-flex; align-items: baseline; }
.sekiz .colon { display: inline-flex; flex-direction: column; gap: .14em; margin: 0 .14em; transform: translateY(-.34em); }
.sekiz .colon span { display: block; width: .2em; height: .2em; border-radius: 50%; background: currentColor; }

/* A headline full stop as a circle, the same size as the colon's dots above. */
.dot { display: inline-block; width: .2em; height: .2em; margin-left: .04em; border-radius: 50%; background: currentColor; vertical-align: baseline; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.remote-icon { transform: rotate(-45deg); background: var(--mint); -webkit-mask: url(img/remote.png) center/contain no-repeat; mask: url(img/remote.png) center/contain no-repeat; }

/*
 * A phone showing one of the app's screens. The design draws it 390 wide at
 * 1.1× zoom; here it is a box with that aspect ratio, so it can shrink on a
 * phone without its contents drifting. The screenshot sits under a 30-point
 * strip and is lifted 50 points to hide the status bar — both written as
 * fractions of the frame (30/825 of its height, 50/390 of its width) for the
 * same reason.
 */
.phone { position: relative; width: 286px; max-width: 100%; aspect-ratio: 390 / 825; flex: none; border-radius: 30.67px; overflow: hidden; background: var(--ink); box-shadow: var(--phone-shadow); }
.phone .screen { position: absolute; top: 3.636%; left: 0; right: 0; bottom: 0; overflow: hidden; }
.phone .screen img { display: block; width: 100%; height: auto; margin-top: -12.82%; }
.phone.tall { aspect-ratio: 390 / 844; background: #F2F4F4; }
.feature-in.bottom .phone { align-self: center; margin-bottom: clamp(48px,6vw,85.33px); }

/* ── Legal pages and İletişim ────────────────────────────────────────── */

.doc { background: #FFFFFF; padding: clamp(37.33px,4.67vw,69.33px) 16px clamp(53.33px,6vw,93.33px); }
.doc-in { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(26.67px,3.33vw,42.67px); }
.doc-head { display: flex; flex-direction: column; gap: 18.67px; }
.doc h1 { margin: 0; font-size: clamp(32px,4vw,64px); line-height: 1.05; font-weight: 900; color: var(--ink); letter-spacing: .01em; text-wrap: balance; }
.doc .lede { margin: 0; font-size: clamp(16px,1.6vw,21.33px); line-height: 1.42; font-weight: 300; color: rgba(0,0,0,.72); text-wrap: pretty; }
.doc-body { display: flex; flex-direction: column; gap: 16px; }
.doc-body h2 { margin: 16px 0 0; font-size: clamp(17.33px,1.73vw,22.67px); line-height: 1.2; font-weight: 900; color: var(--ink); }
.doc-body p { margin: 0; font-size: clamp(13.33px,1.2vw,16px); line-height: 1.5; color: rgba(0,0,0,.72); text-wrap: pretty; }
.doc-body b { color: #0e0e0e; font-weight: 700; }
.doc-body ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10.67px; }
.doc-body li { display: flex; gap: 12px; align-items: flex-start; font-size: clamp(13.33px,1.2vw,16px); line-height: 1.5; color: rgba(0,0,0,.72); }
.doc-body li::before { content: ''; width: 6.67px; height: 6.67px; border-radius: 50%; background: var(--dot); flex: none; margin-top: .6em; }
.doc .updated { margin: 0; font-size: 12px; line-height: 1.5; color: rgba(0,0,0,.5); }

/* The contact form. */
.form { display: flex; flex-direction: column; gap: 18.67px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-label { font-size: 13.33px; font-weight: 700; color: var(--ink); }
.field-label small { font-size: 10.67px; font-weight: 600; color: rgba(0,0,0,.45); }
.input { width: 100%; padding: 0 14.67px; height: 42.67px; border-radius: 10.67px; border: 1px solid rgba(0,48,73,.18); background: var(--field); color: #0e0e0e; font: 400 13.33px 'Nunito Sans', sans-serif; outline: none; }
textarea.input { height: auto; min-height: 133.33px; padding: 12px 14.67px; line-height: 1.5; resize: vertical; }
.input:focus { border-color: var(--ink); background: #FFFFFF; }
.input.bad { border-color: var(--error); }
.input::placeholder { color: rgba(0,0,0,.35); }
.count { font-size: 10.67px; color: rgba(0,0,0,.45); align-self: flex-end; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { height: 32px; padding: 0 14.67px; border-radius: 16px; display: flex; align-items: center; cursor: pointer; font: 600 13.33px 'Nunito Sans', sans-serif; border: none; background: rgba(0,48,73,.06); color: var(--ink); }
.topic[aria-pressed="true"] { font-weight: 900; background: var(--ink); color: var(--mint); }
.form-error { margin: 0; font-size: 12px; color: var(--error); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 13.33px 18.67px; }
.form-foot p { margin: 0; font-size: 12px; line-height: 1.5; color: rgba(0,0,0,.5); text-wrap: pretty; }
.submit { height: 42.67px; padding: 0 26.67px; border: none; border-radius: 21.33px; background: var(--ink); color: var(--mint); font: 900 16px 'Nunito Sans', sans-serif; cursor: pointer; }
.submit:hover { background: var(--teal); }
.submit:disabled { opacity: .6; cursor: default; }
.sent { display: flex; flex-direction: column; gap: 16px; padding: 26.67px; border-radius: 16px; background: var(--field); }
.sent strong { font-size: clamp(21.33px,2.27vw,29.33px); font-weight: 900; color: var(--ink); }
.sent p { margin: 0; font-size: clamp(13.33px,1.2vw,16px); line-height: 1.5; color: rgba(0,0,0,.72); }
.sent p b { color: #0e0e0e; font-weight: 700; }
.again { align-self: flex-start; height: 37.33px; padding: 0 18.67px; border-radius: 18.67px; border: none; background: rgba(0,48,73,.08); color: var(--ink); font: 800 13.33px 'Nunito Sans', sans-serif; cursor: pointer; }
.again:hover { background: rgba(0,48,73,.14); }
[hidden] { display: none !important; }

/* ── Footer ──────────────────────────────────────────────────────────── */

.footer { background: var(--dark-gradient); color: var(--mint); padding: clamp(37.33px,4vw,64px) 16px 32px; overflow: hidden; }
.footer-in { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(37.33px,4.67vw,74.67px); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10.67px clamp(18.67px,2.67vw,37.33px); }
.footer-links a { color: var(--mint); text-decoration: none; font-size: clamp(17.33px,1.73vw,22.67px); font-weight: 700; }
.footer-links a:hover { color: #FFFFFF; }
.footer-badge { display: flex; justify-content: center; margin-top: calc(-1 * clamp(16px,2.67vw,42.67px)); }
.footer-badge .store-badge img { height: 58.67px; }
.footer-word { font-size: clamp(106.67px,21.33vw,320px); line-height: .8; font-weight: 900; letter-spacing: -.04em; color: var(--mint); text-align: center; margin: 0 -.04em; }
.footer-copy { font-size: 16px; font-weight: 600; color: rgba(159,255,203,.7); text-align: center; }

/* ── Tablet ──────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  .nav-in { gap: 16px; }
  .nav-links { gap: 16px; font-size: 13.33px; }
  .nav-logo { font-size: 24px; }
  .nav-cta { height: 34.67px; padding: 0 16px; font-size: 13.33px; }
  /* Stacked, the phone reads after the words whichever side it sat on. */
  .feature-in.reverse { flex-direction: row; }
}

/* ── Phone ───────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .nav-in { padding: 14px 16px; gap: 16px; }
  .nav-logo { font-size: 24px; }
  .nav-links { display: none; }
  .nav-cta { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 18px; }

  .hero { padding: 56px 16px 0; }
  .hero-in { gap: 22px; }
  .hero h1 { font-size: clamp(34px, 10vw, 45px); }
  .hero p { font-size: 18px; }
  .store-badge img { height: 44px; }

  .logos { margin-top: 40px; height: 210px; }
  .logos-rows { top: 8px; gap: 24px; }
  .logos-row { gap: 28px; }
  .logos-row.shift { transform: translateX(48px); }
  .logos-row img { width: 52px; height: 40px; }

  .feature { padding: 16px 12px; }
  .feature.first { padding-top: 32px; }
  .feature.last { padding-bottom: 32px; }
  .feature-card { padding: 48px 20px; border-radius: 24px; }
  .feature-in { gap: 40px; }
  .feature-text { flex-basis: 100%; gap: 18px; }
  .feature-text svg, .feature-icon { width: 44px; height: 44px; }
  .feature-text svg.big { width: 52px; height: 52px; }
  .feature h2 { font-size: clamp(32px, 10vw, 38px); }
  .feature p { font-size: 18px; }
  .phone { width: min(100%, 270px); border-radius: 30px; }
  .feature-in.bottom .phone { margin-bottom: 48px; }

  .doc { padding: 48px 16px 72px; }
  .doc-in { gap: 36px; }
  .doc-head { gap: 18px; }
  .doc h1 { font-size: clamp(30px, 9vw, 34px); }
  .doc .lede { font-size: 18px; }
  .doc-body { gap: 18px; }
  .doc-body h2 { font-size: 20px; margin-top: 12px; }
  .doc-body p, .doc-body li { font-size: 16px; }
  .doc .updated { font-size: 14px; }
  .field-label { font-size: 15px; }
  .input { height: 48px; font-size: 16px; padding: 0 16px; }
  textarea.input { min-height: 160px; padding: 14px 16px; }
  .topic { height: 40px; padding: 0 16px; font-size: 15px; }
  .submit { width: 100%; height: 50px; font-size: 18px; }
  .form-foot p { font-size: 14px; }
  .sent { padding: 28px 22px; }

  .footer { padding: 56px 16px 36px; }
  .footer-in { gap: 48px; }
  .footer-links { gap: 12px 24px; }
  .footer-links a { font-size: 17px; }
  .footer-badge { margin-top: -16px; }
  .footer-badge .store-badge img { height: 48px; }
  .footer-word { font-size: 30vw; }
  .footer-copy { font-size: 14px; }
}
