/* Softune website. One stylesheet for the landing page and the plain pages. Dark, after the app's brand surfaces:
   graphite ground, violet glass, a mint check and one tangerine accent. */
:root {
  --bg: #0b0a10;
  --bg-2: #120f1c;
  --fg: #f5f2fb;
  --muted: #aaa3bf;
  --faint: #6f6887;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --card: rgba(255, 255, 255, 0.045);
  --card-hover: rgba(255, 255, 255, 0.07);
  --violet: #7b63ff;
  --violet-soft: #b9a6ff;
  --lilac: #d6c6ff;
  --mint: #3ad0a4;
  --tangerine: #ff8c42;
  --peach: #f7b27a;
  --headline: linear-gradient(92deg, #a08cff 0%, #d4bdff 42%, #f9b58a 100%);
  --radius: 22px;
  --wrap: 1180px;
  --gutter: 24px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, system-ui, "Segoe UI", Roboto, sans-serif;
}
@media (max-width: 760px) { :root { --gutter: 16px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--violet-soft); text-decoration: none; }
a:hover { color: var(--lilac); }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.gradient { background: var(--headline); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
::selection { background: rgba(123, 99, 255, 0.45); }
:focus-visible { outline: 2px solid var(--violet-soft); outline-offset: 3px; border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; line-height: 1; color: var(--fg);
  border: 1px solid var(--line-strong); background: var(--card);
  transition: background .2s, transform .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--card-hover); color: var(--fg); transform: translateY(-1px); }
.btn.primary { background: var(--fg); color: #0b0a10; border-color: transparent; }
.btn.primary:hover { background: #fff; color: #0b0a10; }
.btn.violet { background: var(--violet); border-color: transparent; }
.btn.violet:hover { background: #8a74ff; color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .small { display: block; font-size: 11px; font-weight: 500; opacity: .75; margin-bottom: 2px; }
.btn.store { padding: 10px 20px 10px 16px; text-align: left; line-height: 1.1; }
.btn.store svg { width: 26px; height: 26px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(11, 10, 16, 0.62); border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--fg); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 2px 10px rgba(0,0,0,.5); }
.nav-links { display: flex; gap: 24px; margin-left: 8px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--fg); }
.nav .btn { margin-left: auto; padding: 10px 16px; font-size: 14px; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* Aurora ground */
.aurora {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
}
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .9;
  animation: float 18s ease-in-out infinite alternate;
}
.aurora .a1 { width: 56vw; height: 56vw; left: -12vw; top: -18vw; background: radial-gradient(circle, rgba(112, 74, 209, .55), transparent 62%); }
.aurora .a2 { width: 48vw; height: 48vw; right: -10vw; top: -6vw; background: radial-gradient(circle, rgba(70, 48, 140, .6), transparent 60%); animation-delay: -6s; }
.aurora .a3 { width: 34vw; height: 34vw; left: 30vw; top: 20vw; background: radial-gradient(circle, rgba(28, 92, 97, .55), transparent 62%); animation-delay: -11s; }
.aurora .a4 { width: 26vw; height: 26vw; right: 8vw; top: 26vw; background: radial-gradient(circle, rgba(204, 102, 69, .5), transparent 62%); animation-delay: -3s; }
@keyframes float { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(3vw, 2vw, 0) scale(1.08); } }
@media (max-width: 760px) { .aurora span { filter: blur(44px); } .aurora .a1 { width: 120vw; height: 120vw; left: -40vw; top: -50vw; } .aurora .a2 { width: 90vw; height: 90vw; right: -40vw; top: 10vw; } .aurora .a3 { width: 70vw; height: 70vw; left: 10vw; top: 80vw; } .aurora .a4 { width: 60vw; height: 60vw; right: -10vw; top: 110vw; } }

/* Hero */
.hero { position: relative; padding: 84px 0 0; text-align: center; overflow: hidden; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.04); font-size: 13px; font-weight: 600; color: var(--lilac); letter-spacing: .01em;
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--tangerine); box-shadow: 0 0 10px var(--tangerine); }
.hero h1 { font-size: clamp(42px, 7.4vw, 92px); letter-spacing: -0.035em; margin: 26px auto 0; max-width: 14ch; }
.hero .lead { font-size: clamp(17px, 2vw, 21px); color: var(--muted); max-width: 44ch; margin: 22px auto 0; line-height: 1.5; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--faint); }

/* Phones */
.phone {
  position: relative; width: 100%; aspect-ratio: 1320 / 2868;
  border-radius: 13.3%/6.1%; padding: 3%; background: #08080b;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 0 0 4px #141318, 0 0 0 5px rgba(255,255,255,.08), 0 40px 80px -20px rgba(0,0,0,.8), 0 12px 30px -10px rgba(0,0,0,.6);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 11.4%/5.2%; background: #000; }
.phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(160deg, rgba(255,255,255,.07), transparent 40%); }
.hero-phones { position: relative; height: clamp(360px, 48vw, 640px); margin: 56px auto 0; max-width: 1000px; }
.hero-phones .phone { position: absolute; left: 50%; bottom: -14%; width: clamp(230px, 26vw, 320px); transform: translateX(-50%); z-index: 3; }
.hero-phones .side { width: clamp(190px, 22vw, 268px); bottom: -6%; z-index: 2; filter: brightness(.86); }
.hero-phones .left { transform: translateX(-128%) rotate(-7deg); }
.hero-phones .right { transform: translateX(28%) rotate(7deg); }
@media (max-width: 760px) {
  .eyebrow .long { display: none; }
  .hero-phones { height: 104vw; max-height: 520px; margin-top: 40px; }
  .hero-phones .phone { width: 58vw; max-width: 270px; }
  .hero-phones .side { width: 46vw; max-width: 220px; }
  .hero-phones .left { transform: translateX(-118%) rotate(-7deg); }
  .hero-phones .right { transform: translateX(18%) rotate(7deg); }
}
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: 4; pointer-events: none; }

/* Marquee of real edits */
.marquee-block { padding: 24px 0 0; overflow: hidden; }
.marquee-block .wrap { text-align: center; margin-bottom: 26px; }
.marquee-block .wrap p { color: var(--faint); font-size: 14px; }
.rows { transform: rotate(-2deg) scale(1.06); display: grid; gap: 14px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 14px; width: max-content; animation: drift 70s linear infinite; }
.track.reverse { animation-direction: reverse; animation-duration: 82s; }
.track figure { margin: 0; position: relative; flex: none; height: clamp(150px, 20vw, 230px); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px -12px rgba(0,0,0,.8); }
.track img { height: 100%; width: auto; }
.track figcaption { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(10, 9, 14, .72); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .01em; }
@keyframes drift { to { transform: translateX(-50%); } }
.marquee:hover .track { animation-play-state: paused; }

/* Sections */
.section { padding: clamp(72px, 9vw, 120px) 0 0; }
.section-head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violet-soft); margin-bottom: 14px; }
.section h2 { font-size: clamp(32px, 4.6vw, 56px); }
.section .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); margin-top: 16px; line-height: 1.55; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 500; color: var(--fg); }
.chip b { color: var(--peach); font-weight: 700; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Compare slider */
.compare { position: relative; aspect-ratio: 1464 / 600; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); user-select: none; -webkit-user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 var(--x, 50%)); }
.compare .bar { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: #fff; transform: translateX(-1px); box-shadow: 0 0 14px rgba(0,0,0,.5); pointer-events: none; }
.compare .knob { position: absolute; top: 50%; left: var(--x, 50%); width: 42px; height: 42px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.45); pointer-events: none; display: grid; place-items: center; }
.compare .knob::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--tangerine); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare .tag { position: absolute; top: 14px; padding: 6px 11px; border-radius: 999px; background: rgba(10,9,14,.7); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; pointer-events: none; }
.compare .tag.l { left: 14px; } .compare .tag.r { right: 14px; }
.compare-wrap { margin-top: clamp(28px, 4vw, 48px); }
.compare-hint { text-align: center; color: var(--faint); font-size: 14px; margin-top: 14px; }

/* Looks */
.looks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px) { .looks { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.look { margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #000; }
.look img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.look .after { clip-path: inset(0 0 0 50%); animation: wipe 9s ease-in-out infinite alternate; }
.look:nth-child(2) .after { animation-delay: -2.2s; } .look:nth-child(3) .after { animation-delay: -4.6s; } .look:nth-child(4) .after { animation-delay: -6.8s; }
@keyframes wipe { 0% { clip-path: inset(0 0 0 100%); } 25% { clip-path: inset(0 0 0 100%); } 75% { clip-path: inset(0 0 0 0%); } 100% { clip-path: inset(0 0 0 0%); } }
.look figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 11px; border-radius: 999px; background: rgba(10,9,14,.72); color: #fff; font-size: 13px; font-weight: 600; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: auto; gap: 16px; }
.bento > * { border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); position: relative; }
.bento img { width: 100%; height: 100%; object-fit: cover; }
.bento .b-phone { grid-column: span 4; grid-row: span 2; background: linear-gradient(180deg, #1c1630, #0f0d18); padding: 10% 14% 0; border: 1px solid var(--line); display: flex; align-items: flex-end; }
.bento .b-phone .phone { margin-bottom: -22%; }
.bento .b-hearts { grid-column: span 4; aspect-ratio: 1; }
.bento .b-honey { grid-column: span 4; aspect-ratio: 3 / 2; }
.bento .b-film { grid-column: span 8; aspect-ratio: 3 / 1; }
.bento .b-season { grid-column: span 8; aspect-ratio: 16 / 9; }
.bento .b-prints { grid-column: span 4; aspect-ratio: 1; }
.bento .label { position: absolute; left: 14px; bottom: 14px; padding: 6px 11px; border-radius: 999px; background: rgba(10,9,14,.72); color: #fff; font-size: 13px; font-weight: 600; }
.bento .b-season a { display: block; height: 100%; color: #fff; }
.bento .b-season .over { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; background: linear-gradient(to top, rgba(8,6,12,.85), transparent); }
.bento .b-season h3 { font-size: 22px; letter-spacing: -0.02em; }
.bento .b-season p { color: rgba(255,255,255,.8); font-size: 14px; margin-top: 4px; }
.bento .b-season .open { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--peach); }
@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bento .b-phone { grid-column: span 2; grid-row: span 1; aspect-ratio: 16 / 10; padding: 6% 30% 0; }
  .bento .b-phone .phone { margin-bottom: -42%; }
  .bento .b-hearts, .bento .b-honey, .bento .b-prints { grid-column: span 1; aspect-ratio: 1; }
  .bento .b-film, .bento .b-season { grid-column: span 2; }
  .bento .b-film { aspect-ratio: 2 / 1; }
}

/* Fan of three cards */
.fan { position: relative; width: 100%; aspect-ratio: 1; max-width: 520px; margin: 0 auto; }
.fan img { position: absolute; width: 56%; height: auto; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); border: 1px solid rgba(255,255,255,.1); }
.fan .f1 { left: 0; top: 10%; transform: rotate(-9deg); }
.fan .f2 { left: 22%; top: 2%; transform: rotate(1deg); z-index: 2; }
.fan .f3 { right: 0; top: 14%; transform: rotate(9deg); }

/* Tool tiles */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tile { padding: 18px 18px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.tile:hover { background: var(--card-hover); border-color: var(--line-strong); }
.tile svg { width: 26px; height: 26px; stroke: var(--violet-soft); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { font-size: 16px; margin-top: 12px; letter-spacing: -0.01em; }
.tile p { font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.tools-phone { max-width: 330px; margin: 0 auto; }
@media (max-width: 860px) { .tools-phone { max-width: 260px; } }

/* Two cards */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .cards-2 { grid-template-columns: 1fr; } }
.card { padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.card h3 { font-size: 22px; letter-spacing: -0.02em; }
.card .sub { color: var(--muted); margin-top: 6px; font-size: 15px; }
.card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.card li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.card li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: rgba(58, 208, 164, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.3l3 3 6-6.6' fill='none' stroke='%233ad0a4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.card li strong { color: var(--fg); }

/* Privacy band */
.band { margin-top: clamp(72px, 9vw, 120px); padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); text-align: center; }
.band h2 { font-size: clamp(26px, 3.6vw, 40px); }
.band p { color: var(--muted); max-width: 56ch; margin: 14px auto 0; }
.band .facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; font-size: 15px; font-weight: 600; }
.band .facts span { display: inline-flex; align-items: center; gap: 8px; }
.band .facts svg { width: 20px; height: 20px; }

/* Pro */
.pro { position: relative; border-radius: 28px; padding: 1px; background: linear-gradient(135deg, rgba(160,140,255,.7), rgba(255,255,255,.08) 40%, rgba(255,140,66,.6)); }
.pro-inner { border-radius: 27px; background: linear-gradient(160deg, #171229, #0e0c15 60%); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; overflow: hidden; }
.pro-inner::before { content: ""; position: absolute; width: 60%; height: 60%; left: -20%; top: -30%; background: radial-gradient(circle, rgba(123,99,255,.35), transparent 60%); filter: blur(30px); pointer-events: none; }
.pro h2 { font-size: clamp(30px, 4vw, 48px); }
.pro .price { margin-top: 18px; font-size: 17px; color: var(--muted); }
.pro .price b { color: var(--fg); }
.pro ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pro li { display: flex; gap: 12px; align-items: flex-start; }
.pro li i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(123,99,255,.22); display: grid; place-items: center; margin-top: 1px; }
.pro li i::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--violet-soft); }
.pro li b { display: block; font-weight: 700; }
.pro li span { color: var(--muted); font-size: 15px; }
.pro .fine { margin-top: 18px; font-size: 13px; color: var(--faint); line-height: 1.5; }
@media (max-width: 860px) { .pro-inner { grid-template-columns: 1fr; } }

/* Closing CTA + footer */
.closing { text-align: center; padding: clamp(72px, 10vw, 140px) 0 clamp(60px, 8vw, 100px); position: relative; overflow: hidden; }
.closing .icon { width: 104px; height: 104px; border-radius: 24px; margin: 0 auto 26px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.1); }
.closing h2 { font-size: clamp(32px, 5vw, 60px); max-width: 16ch; margin: 0 auto; }
.closing p { color: var(--muted); margin-top: 16px; }
footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer .links { display: flex; gap: 20px; margin-left: auto; }
footer a { color: var(--muted); }
footer a:hover { color: var(--fg); }
footer .credit { width: 100%; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .track, .aurora span { animation: none !important; }
  .look .after { animation: none; clip-path: inset(0 0 0 50%); }
}

/* Plain pages (support, privacy, open-in-app) */
.page { max-width: 760px; margin: 0 auto; padding: 48px var(--gutter) 90px; }
.page h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 10px; }
.page h2 { font-size: 22px; margin: 36px 0 10px; }
.page p { margin: 10px 0; }
.page ul { padding-left: 22px; } .page li { margin: 6px 0; }
.page .card { margin: 20px 0; }
.page .cta { display: inline-block; background: var(--violet); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; }
.page .cta:hover { background: #8a74ff; }
