@font-face{font-family:"Quicksand";font-style:normal;font-weight:300 700;font-display:swap;src:url(/assets/fonts/quicksand.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}
@font-face{font-family:"Nunito";font-style:normal;font-weight:200 1000;font-display:swap;src:url(/assets/fonts/nunito.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}
@font-face{font-family:"Nunito";font-style:italic;font-weight:200 1000;font-display:swap;src:url(/assets/fonts/nunito-italic.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}

/* Eftly — marketing site. One stylesheet, on the design tokens.
   Dark-first: the site lives in the brand world. Coral is SOS-only. */

:root {
  /* Ground */
  --bg: #0E1220;
  --bg-top: #131A2E;
  --bg-deep: #0A0D16;
  --surface: #1A2032;
  --raised: #232B42;
  --line: #2E3752;

  /* Text */
  --text: #ECEEF8;
  --muted: #9AA2BC;

  /* Accents */
  --lav: #A8A6F0;
  --teal: #7BD0C4;
  --coral: #F09A8C;
  --blue: #8FA8F0;
  --amber: #E8C08A;
  --rose: #E5A0B8;

  --display: "Quicksand", ui-rounded, system-ui, sans-serif;
  --body: "Nunito", ui-rounded, system-ui, sans-serif;

  --r: 24px;
  --wrap: 1064px;

  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg) linear-gradient(180deg, var(--bg-top), var(--bg) 560px) no-repeat;
  color: var(--text);
  font: 400 17px/1.65 var(--body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
p { margin: 0 0 1em; max-width: 66ch; }
p:last-child { margin-bottom: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lav); text-underline-offset: 3px; }
a:hover { color: #C4C2F7; }

:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 10;
  background: var(--raised); color: var(--text);
  padding: 10px 16px; border-radius: 999px; font-weight: 600;
}
.skip:focus { left: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }

.label {
  font: 700 12.5px/1 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lav);
  display: block;
  margin-bottom: 14px;
}

.muted { color: var(--muted); }
.lead { color: var(--muted); font-size: 17.5px; max-width: 62ch; }

section { padding-block: 64px; }
@media (min-width: 720px) { section { padding-block: 84px; } }

h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin-bottom: 14px;
}

/* ───────────── Header ───────────── */

.site-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 26px 8px;
}
.site-head .logo { display: inline-flex; align-items: center; border-radius: 10px; }
.site-head .logo svg { height: 34px; width: auto; display: block; }

.langs { display: flex; gap: 2px; align-items: center; }
.langs a {
  font: 700 12.5px/1 var(--body);
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 9px;
  border-radius: 999px;
}
.langs a:hover { color: var(--text); background: rgba(35, 43, 66, 0.7); }
.langs a[aria-current] { color: var(--bg); background: var(--lav); }

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

.hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
  padding-block: 48px 72px;
}
.hero-fig { filter: drop-shadow(0 0 70px rgba(168, 166, 240, 0.10)); }
.hero-fig svg { width: 100%; height: auto; display: block; }

.hero h1 {
  font-size: clamp(38px, 5.4vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
}
.hero .sub {
  font-size: 18.5px;
  color: var(--muted);
  margin-bottom: 14px;
  max-width: 58ch;
}
.hero .lang-line {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 58ch;
}
.hero .lang-line strong { color: var(--text); font-weight: 600; }

.soon {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 15px/1 var(--body);
  color: var(--text);
  background: rgba(168, 166, 240, 0.12);
  border: 1px solid rgba(168, 166, 240, 0.45);
  border-radius: 999px;
  padding: 13px 20px;
  margin-bottom: 26px;
}
.soon .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lav);
  animation: soft-blink 2s ease-in-out infinite;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: 600 13px/1.4 var(--body);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  background: rgba(26, 32, 50, 0.6);
}

@media (max-width: 799px) {
  .hero { grid-template-columns: 1fr; gap: 8px; padding-block: 16px 56px; text-align: left; }
  .hero-fig { width: min(230px, 60vw); margin-inline: auto; }
}

/* ───────────── Phones ───────────── */

.phone {
  margin: 0;
  border-radius: 38px;
  background: var(--raised);
  border: 1px solid var(--line);
  padding: 9px;
  box-shadow: 0 24px 60px rgba(4, 6, 12, 0.5);
}
.phone img { border-radius: 30px; width: 100%; }
.phone-cap { margin-top: 14px; text-align: center; font-size: 14.5px; color: var(--muted); }

/* ───────────── SOS ───────────── */

.sos-card {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: center;
  background: linear-gradient(150deg, rgba(240, 154, 140, 0.10), rgba(229, 160, 184, 0.05) 55%, rgba(26, 32, 50, 0.4));
  border: 1px solid rgba(240, 154, 140, 0.38);
  border-radius: var(--r);
  padding: 48px 56px 0 56px;
  overflow: hidden;
}
.sos-card .label { color: var(--coral); }
.sos-card .copy { padding-bottom: 48px; }
.sos-card .copy p { color: var(--muted); font-size: 17.5px; }
.sos-free {
  display: inline-block;
  margin-top: 18px;
  font: 700 15.5px/1.4 var(--body);
  color: var(--coral);
}
.sos-card .shot {
  align-self: end;
  border-radius: 34px 34px 0 0;
  border: 1px solid rgba(240, 154, 140, 0.3);
  border-bottom: none;
  padding: 8px 8px 0;
  background: rgba(14, 18, 32, 0.55);
}
.sos-card .shot img {
  border-radius: 27px 27px 0 0;
  height: 430px;
  object-fit: cover;
  object-position: top;
}

@media (max-width: 799px) {
  .sos-card { grid-template-columns: 1fr; gap: 8px; padding: 32px 28px 0; }
  .sos-card .copy { padding-bottom: 8px; }
  .sos-card .shot { width: min(260px, 74vw); margin-inline: auto; }
}

/* ───────────── How it works ───────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
  counter-reset: step;
}
.step { counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font: 700 15px/1 var(--display);
  color: var(--lav);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.step h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }

.phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  align-items: start;
}
@media (min-width: 800px) {
  .phones > :nth-child(2) { transform: translateY(-22px); }
}

@media (max-width: 799px) {
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .phones {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    margin-inline: -24px;
    padding: 8px 24px 20px;
    scrollbar-width: none;
  }
  .phones::-webkit-scrollbar { display: none; }
  .phones > div { flex: 0 0 72%; max-width: 280px; scroll-snap-align: center; }
}

/* ───────────── Sessions ───────────── */

.sessions-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.badge {
  font: 700 13px/1 var(--body);
  letter-spacing: 0.04em;
  color: var(--teal);
  border: 1px solid rgba(123, 208, 196, 0.45);
  background: rgba(123, 208, 196, 0.10);
  border-radius: 999px;
  padding: 9px 16px;
  white-space: nowrap;
}
.sessions .sub { color: var(--muted); font-size: 17.5px; max-width: 62ch; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.cat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.35s ease;
}
@media (hover: hover) {
  .cat:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 45%, var(--line)); }
}
.cat .ico {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 13%, transparent);
  color: var(--c);
  margin-bottom: 16px;
}
.cat .ico svg { width: 22px; height: 22px; }
.cat h3 { font-size: 18.5px; font-weight: 600; display: flex; align-items: baseline; gap: 10px; }
.cat .n { font: 600 13.5px/1 var(--body); color: var(--muted); }
.cat p { color: var(--muted); font-size: 15px; margin-top: 7px; }

.cat.c-coral { --c: var(--coral); }
.cat.c-lav { --c: var(--lav); }
.cat.c-blue { --c: var(--blue); }
.cat.c-teal { --c: var(--teal); }
.cat.c-amber { --c: var(--amber); }
.cat.c-rose { --c: var(--rose); }

.free-note {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 24px;
  background: rgba(123, 208, 196, 0.07);
  border: 1px solid rgba(123, 208, 196, 0.3);
  border-radius: 18px;
  padding: 16px 20px;
  font-size: 15.5px;
  color: var(--muted);
}
.free-note svg { flex: none; width: 20px; height: 20px; color: var(--teal); margin-top: 2px; }
.free-note strong { color: var(--text); }

@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

/* ───────────── Privacy band ───────────── */

.privacy-band {
  background: var(--bg-deep);
  border-block: 1px solid var(--line);
  text-align: center;
  padding-block: 88px;
}
.privacy-band .label { color: var(--teal); }
.privacy-band h2 { font-size: clamp(32px, 5vw, 46px); margin-inline: auto; }
.privacy-band .body {
  color: var(--muted);
  font-size: 17.5px;
  max-width: 58ch;
  margin: 18px auto 30px;
}
.priv-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 0 0 26px; list-style: none; }
.priv-points li {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 14px/1 var(--body);
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(26, 32, 50, 0.55);
  border-radius: 999px;
  padding: 10px 16px;
}
.priv-points svg { width: 15px; height: 15px; color: var(--teal); }
.privacy-band .site-note { font-size: 14.5px; color: var(--muted); font-style: italic; margin-inline: auto; }

/* ───────────── Pricing ───────────── */

.plans {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 16px;
  margin-top: 40px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 32px;
  display: flex; flex-direction: column;
}
.plan.featured {
  background: linear-gradient(165deg, rgba(168, 166, 240, 0.10), var(--surface) 62%);
  border-color: rgba(168, 166, 240, 0.55);
}
.plan .badge { position: absolute; top: 22px; right: 22px; }
.plan h3 { font-size: 17px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price .amount {
  font: 700 clamp(34px, 4vw, 42px)/1 var(--display);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.price .per { color: var(--muted); font-size: 16px; }
.plan .equiv { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--muted); }
.plan li svg { flex: none; width: 17px; height: 17px; color: var(--teal); margin-top: 4px; }
.plan .plain { color: var(--muted); font-size: 15.5px; margin-top: 20px; }

.pricing .free-line { margin-top: 24px; font-size: 16px; color: var(--text); font-weight: 600; }
.pricing .store-note { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

@media (max-width: 799px) { .plans { grid-template-columns: 1fr; } }

/* ───────────── FAQ ───────────── */

.faq-wrap { max-width: 780px; }
.faq-list { margin-top: 28px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 21px 4px;
  font: 600 18px/1.4 var(--display);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: #FFFFFF; }
.faq-list summary .plus {
  flex: none;
  width: 24px; height: 24px;
  position: relative;
  color: var(--lav);
  transition: transform 0.3s ease;
}
.faq-list summary .plus::before,
.faq-list summary .plus::after {
  content: "";
  position: absolute; inset: 0; margin: auto;
  background: currentColor; border-radius: 2px;
}
.faq-list summary .plus::before { width: 15px; height: 2px; }
.faq-list summary .plus::after { width: 2px; height: 15px; }
.faq-list details[open] summary .plus { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); font-size: 16px; padding: 0 4px 24px; max-width: 62ch; }

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

.site-foot {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-block: 56px 44px;
  font-size: 14.5px;
}
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px 64px; align-items: start; }
.foot-brand svg { height: 30px; width: auto; display: block; }
.foot-brand .tagline { color: var(--muted); margin-top: 12px; font-size: 14.5px; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--text); text-decoration: underline; }

.foot-notes { margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(46, 55, 82, 0.55); color: var(--muted); }
.foot-notes p { max-width: 82ch; font-size: 13.5px; margin-bottom: 8px; }
.foot-notes a { color: var(--muted); }
.foot-notes a:hover { color: var(--text); }
.foot-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; color: var(--muted); font-size: 13.5px; align-items: center; }
.foot-meta a { color: var(--muted); text-decoration: none; }
.foot-meta a:hover { color: var(--text); text-decoration: underline; }

@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ───────────── Subpages ───────────── */

.page { max-width: 720px; padding-block: 40px 80px; }
.page h1 { font-size: clamp(32px, 5vw, 42px); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.page .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.page .intro { font-size: 18px; color: var(--muted); margin-bottom: 8px; }
.page .intro strong { color: var(--text); }
.page h2 { font-size: 22px; margin: 40px 0 10px; }
.page p { color: var(--muted); }
.page p strong { color: var(--text); }

.support-list { margin-top: 8px; border-top: 1px solid var(--line); }
.support-list details { border-bottom: 1px solid var(--line); }
.support-list summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 17px 2px; font: 600 16.5px/1.4 var(--display);
}
.support-list summary::-webkit-details-marker { display: none; }
.support-list summary .plus { flex: none; width: 22px; height: 22px; position: relative; color: var(--lav); transition: transform 0.3s ease; }
.support-list summary .plus::before, .support-list summary .plus::after { content: ""; position: absolute; inset: 0; margin: auto; background: currentColor; border-radius: 2px; }
.support-list summary .plus::before { width: 13px; height: 2px; }
.support-list summary .plus::after { width: 2px; height: 13px; }
.support-list details[open] summary .plus { transform: rotate(45deg); }
.support-list details p { padding: 0 2px 20px; font-size: 15.5px; }

/* Press */
.press-table { width: 100%; border-collapse: collapse; margin: 20px 0 8px; font-size: 15.5px; }
.press-table th { text-align: left; font: 700 12px/1.3 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); }
.press-table td { padding: 12px 14px 12px 0; border-bottom: 1px solid rgba(46, 55, 82, 0.55); vertical-align: top; color: var(--muted); }
.press-table td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; width: 130px; }
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
.dl {
  display: block;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 18px; text-decoration: none;
}
.dl:hover { border-color: rgba(168, 166, 240, 0.5); }
.dl b { display: block; font-family: var(--display); font-weight: 600; color: var(--text); font-size: 15.5px; }
.dl span { color: var(--muted); font-size: 13.5px; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.sw { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.sw .c { height: 52px; }
.sw .m { padding: 9px 12px; font-size: 13px; }
.sw .m b { display: block; font-family: var(--display); font-weight: 600; font-size: 13.5px; }
.sw .m span { color: var(--muted); font-family: ui-monospace, Menlo, monospace; font-size: 12px; }
.press-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
@media (max-width: 640px) {
  .dl-grid, .press-shots { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
}

/* 404 */
.nf { text-align: center; padding-block: 96px 120px; }
.nf svg { width: 72px; height: 72px; margin: 0 auto 28px; display: block; }
.nf h1 { font-size: clamp(30px, 5vw, 40px); margin-bottom: 12px; }
.nf p { color: var(--muted); margin-inline: auto; }
.nf a { font-weight: 700; }

/* ───────────── Motion ───────────── */

@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.012); } }
@keyframes pulse { from { r: 9; opacity: 0.8; } to { r: 35; opacity: 0; } }
@keyframes soft-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.breathing { transform-origin: 150px 170px; animation: breathe 4s ease-in-out infinite alternate; }
.ring { animation: pulse 1s linear infinite; }
.ring2 { animation-delay: 0.5s; }

/* Scroll reveals — applied only when JS runs and motion is allowed */
html.anim .reveal { opacity: 0; transform: translateY(16px); }
html.anim .reveal.in { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1); }
html.anim .steps .step:nth-child(2), html.anim .phones > :nth-child(2), html.anim .cat:nth-child(2), html.anim .cat:nth-child(5) { transition-delay: 0.08s; }
html.anim .steps .step:nth-child(3), html.anim .phones > :nth-child(3), html.anim .cat:nth-child(3), html.anim .cat:nth-child(6) { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .breathing, .ring, .soon .dot { animation: none; }
  .ring { r: 13; opacity: 0.7; }
  .ring2 { r: 21; opacity: 0.35; }
  .cat, .faq-list summary .plus, .support-list summary .plus { transition: none; }
}
