/* FretMitra website. Plain CSS, no external fonts or scripts, so visitors make no third-party requests. */
:root {
  --paper: #f6f3ec;
  --card: #ffffff;
  --ink: #0f1a1f;
  --muted: #55626b;
  --line: rgba(15, 26, 31, 0.1);
  --night: #121a1e;
  --night-2: #1a252b;
  --teal: #4fd1b9;
  --teal-ink: #17796a;
  --on-night: #e6eeec;
  --on-night-muted: #a9b8b5;
  --radius: 22px;
  --wrap: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(18, 26, 30, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 20px/1 var(--font-display); letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.nav a { color: var(--on-night-muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }

/* Hero */
.hero { background: radial-gradient(1200px 520px at 80% -10%, #1f3b3a 0%, transparent 60%), var(--night); color: var(--on-night); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding: 72px 0 64px; }
.eyebrow { margin: 0 0 10px; font: 600 13px/1.2 var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-ink); }
.hero .eyebrow { color: var(--teal); }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 14px; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); color: #fff; }
.hero .lead { font-size: 19px; color: var(--on-night); max-width: 34em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.chips li { border: 1px solid rgba(79, 209, 185, 0.45); color: #c4efe6; border-radius: 999px; padding: 7px 13px; font-size: 14px; font-weight: 500; }
.soon { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 12px 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; font-weight: 600; font-size: 15px; }
.soon span { color: var(--on-night-muted); font-weight: 500; }

/* Phones */
.phone { margin: 0; }
.phone img {
  width: 100%; height: auto; aspect-ratio: 600 / 1130; object-fit: cover; object-position: top;
  border-radius: 26px; background: var(--night);
  border: 6px solid #0b1013;
  box-shadow: 0 18px 40px rgba(7, 17, 31, 0.22), 0 2px 6px rgba(7, 17, 31, 0.12);
}
.phone figcaption { margin-top: 10px; text-align: center; font-size: 14px; font-weight: 500; color: var(--muted); line-height: 1.35; }
.hero-phones { position: relative; display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: center; gap: 0; max-width: 560px; justify-self: center; width: 100%; }
.hero-phones .phone:nth-child(1) { transform: translateX(18%) rotate(-6deg) scale(0.92); z-index: 1; }
.hero-phones .phone:nth-child(2) { z-index: 2; }
.hero-phones .phone:nth-child(3) { transform: translateX(-18%) rotate(6deg) scale(0.92); z-index: 1; }
.hero-phones .phone img { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); border-color: #05080a; }

/* Sections */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }
.section h2 { font-size: clamp(28px, 3.2vw, 40px); }
.section p { margin: 0 0 12px; color: #26343c; }
.split { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 56px; align-items: center; }
.split.flip { grid-template-columns: 1fr minmax(260px, 380px); }
.split.flip .copy { order: 2; }
/* One phone beside its text: the copy column comes first unless .flip moves it to the right. */
.split.solo { grid-template-columns: minmax(0, 520px) 300px; justify-content: center; }
.split.solo.flip { grid-template-columns: 300px minmax(0, 520px); }
.stack .copy { display: grid; grid-template-columns: minmax(260px, 440px) 1fr; gap: 0 56px; align-items: end; margin-bottom: 32px; }
.stack .copy p:last-child { margin-bottom: 0; }
.phones { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 22px; align-items: start; }
.points { margin: 16px 0 0; padding: 0; list-style: none; }
.points li { position: relative; padding-left: 26px; margin: 8px 0; color: #26343c; }
.points li::before { content: ""; position: absolute; left: 4px; top: 0.6em; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(79, 209, 185, 0.22); }

/* Pro */
.pro { background: var(--night); color: var(--on-night); border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pro h2 { color: #fff; }
.pro .eyebrow { color: var(--teal); }
.pro p { color: var(--on-night); }
.pro .points li { color: var(--on-night); }
.price-note { display: inline-block; margin-top: 8px; padding: 8px 14px; border-radius: 12px; background: rgba(79, 209, 185, 0.12); color: #c4efe6; font-weight: 600; font-size: 15px; }

/* Cards and pages */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border-radius: var(--radius); padding: 26px 28px; box-shadow: 0 1px 2px rgba(15, 26, 31, 0.04), 0 8px 24px rgba(15, 26, 31, 0.05); }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { font-size: 16px; margin: 0; }
.page { padding: 64px 0 80px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(34px, 4.4vw, 48px); }
.page h2 { font-size: 24px; margin-top: 40px; }
.page p, .page li { color: #26343c; }
.page .updated { color: var(--muted); font-size: 15px; }
.faq details { background: var(--card); border-radius: 16px; padding: 4px 22px; margin: 12px 0; box-shadow: 0 1px 2px rgba(15, 26, 31, 0.04); }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--teal-ink); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; }
.contact-box { background: var(--night); color: var(--on-night); border-radius: var(--radius); padding: 28px 30px; margin-top: 36px; }
.contact-box h2 { color: #fff; margin-top: 0; }
.contact-box p { color: var(--on-night); }
.contact-box a { color: var(--teal); }

/* Footer */
.site-footer { background: var(--night); color: var(--on-night-muted); padding: 48px 0 40px; margin-top: 24px; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer .brand { font-size: 18px; margin-bottom: 10px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* Tablet */
@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 56px 0; }
  .hero-phones { max-width: 460px; }
  .split, .split.flip { grid-template-columns: 1fr 1.3fr; gap: 36px; }
  .split.flip { grid-template-columns: 1.3fr 1fr; }
  .stack .copy { grid-template-columns: 1fr; }
  .pro { grid-template-columns: 1fr; padding: 36px 30px; }
  .cards { grid-template-columns: 1fr 1fr; }
}

/* Phones: stack and let screenshot rows swipe */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { gap: 2px 16px; }
  .nav a { font-size: 14px; }
  .nav .nav-extra { display: none; }
  .section { padding: 52px 0; }
  .split, .split.flip, .split.solo, .split.solo.flip { grid-template-columns: 1fr; gap: 24px; }
  .split.flip .copy { order: 0; }
  .phones { grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; margin-inline: -4px; -webkit-overflow-scrolling: touch; }
  .phones .phone { scroll-snap-align: start; }
  .split.solo .phones { grid-auto-columns: minmax(0, 260px); justify-content: center; overflow: visible; }
  .cards { grid-template-columns: 1fr; }
  .hero-phones .phone:nth-child(1) { transform: translateX(14%) rotate(-6deg) scale(0.9); }
  .hero-phones .phone:nth-child(3) { transform: translateX(-14%) rotate(6deg) scale(0.9); }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
