/* Ultracut site. Black and white, real screenshots, one quiet violet accent. No frameworks. */
:root {
  color-scheme: dark;
  --bg: #000;
  --card: #0a0a0a;
  --text: #f5f5f5;
  --soft: #d4d4d4;
  --muted: #a6a6a6;
  --dim: #6b6b6b;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --panel: #0a0a0a;
  --accent: #8b5cf6;
  --accent-soft: #a78bfa;
  --radius: 28px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-soft); text-underline-offset: 3px; }
img { max-width: 100%; }
strong { color: var(--text); }

/* ---------- Top bar (support and legal pages only; the landing has none) ---------- */
.nav-in { max-width: 700px; margin: 0 auto; padding: 26px 22px 0; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.brand img { width: 24px; height: 24px; display: block; }
.pill { font-size: 14px; font-weight: 600; color: #000; background: #fff; padding: 7px 16px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.pill:hover { background: #e6e6e6; }

/* ---------- Legal / support pages ---------- */
.doc { max-width: 700px; margin: 0 auto; padding: 48px 22px 40px; }
.doc h1 { font-size: clamp(32px, 6vw, 44px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 10px; }
.doc h2 { font-size: 20px; margin: 40px 0 8px; letter-spacing: -0.015em; }
.doc p, .doc li { color: var(--soft); }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.lede { font-size: 18px; color: var(--text); }
.muted { color: var(--muted); font-size: 14px; }
.doc details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.doc details:first-of-type { border-top: 1px solid var(--line); }
.doc summary { cursor: pointer; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after { content: "+"; color: var(--dim); font-weight: 400; font-size: 20px; line-height: 1; }
.doc details[open] summary::after { content: "–"; }
.doc details p { margin: 10px 0 2px; }
.contact-card { margin: 28px 0 8px; padding: 20px 22px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); }
.contact-card p { margin: 0; }
.contact-card a.mail { font-size: 19px; font-weight: 600; text-decoration: none; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 40px; }
.foot-in { max-width: 1040px; margin: 0 auto; padding: 32px 22px 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.foot-in .brand { font-size: 15px; margin-right: auto; text-transform: none; letter-spacing: -0.02em; }
.foot-in .brand img { width: 22px; height: 22px; }
.foot-in a { color: var(--muted); text-decoration: none; }
.foot-in a:hover { color: var(--text); }
.foot-in a[href^="mailto"] { text-transform: none; letter-spacing: 0; }
.foot-in .lang { display: inline-flex; gap: 8px; text-transform: none; letter-spacing: 0; }
.foot-in .lang i { font-style: normal; color: var(--dim); }
.foot-in .lang a[aria-current] { color: var(--text); }
.foot-in .by { width: 100%; color: var(--dim); font-size: 12px; }
.foot-in .by a { color: var(--muted); }

/* ---------- Landing ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; background: #fff; color: #000; text-decoration: none;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em; padding: 13px 26px 13px 22px; border-radius: 999px;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #e6e6e6; transform: translateY(-1px); }
.btn svg { width: 18px; height: 20px; margin-top: -2px; }

/* Real screenshots in a thin bezel */
.phone { --w: 300px; width: var(--w); padding: calc(var(--w) * .028); border-radius: calc(var(--w) * .155); background: #0d0d0d; box-shadow: 0 0 0 1px var(--line-2), 0 30px 80px -20px rgba(0,0,0,.9); }
.phone img { display: block; width: 100%; height: auto; border-radius: calc(var(--w) * .13); }

/* Hero */
.hero { position: relative; text-align: center; padding: 110px 22px 0; overflow: hidden; }
/* Eyebrow: the app's agent bar. Shimmering status text, a sparkle that turns now and then. */
.eyebrow { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 6px 14px 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); margin: 0 0 28px; }
/* The outline: a violet-to-white light that travels around the pill, like the agent bar's glow */
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.eyebrow::before, .askbar::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--sweep), transparent 0 62%, rgba(167,139,250,.9) 78%, #fff 86%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: sweep 6s linear infinite;
}
@keyframes sweep { to { --sweep: 360deg; } }
.eyebrow svg { width: 14px; height: 14px; fill: var(--accent-soft); animation: spin 9s cubic-bezier(.65,0,.35,1) infinite; }
.eyebrow span {
  color: var(--muted);
  background: linear-gradient(90deg, var(--muted) 0 38%, var(--accent-soft) 46%, #fff 52%, var(--muted) 60% 100%) 100% 0 / 260% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 6s cubic-bezier(.4,0,.6,1) infinite;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0% 0; } }
@keyframes spin { 0%, 78% { transform: rotate(0); } 100% { transform: rotate(180deg); } }

/* H1: solid, with the prompt caret blinking after it */
.hero h1 { font-size: clamp(46px, 7.4vw, 80px); line-height: 1.02; letter-spacing: -0.05em; font-weight: 600; color: #fafafa; margin: 0 auto 22px; max-width: 900px; }
.hero h1 .ask { font-weight: 400; font-style: italic; letter-spacing: -0.045em; color: #fff; }
.caret { display: inline-block; width: .055em; height: .82em; margin-left: .07em; vertical-align: -.06em; border-radius: 2px; background: var(--accent-soft); box-shadow: 0 0 18px rgba(167,139,250,.7); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero .lede { text-wrap: balance; font-size: 20px; color: var(--muted); max-width: 720px; margin: 0 auto 34px; }
.hero-shots { position: relative; height: 640px; margin-top: 64px; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.hero-shots::before { content: ""; position: absolute; left: 50%; top: 8%; width: 640px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(139,92,246,.22), transparent); pointer-events: none; }
.hero-shots .phone { position: absolute; left: 50%; top: 0; }
.hero-shots .center { --w: 310px; transform: translateX(-50%); z-index: 2; }
.hero-shots .side { --w: 262px; top: 70px; opacity: .92; }
.hero-shots .left { transform: translateX(calc(-50% - 270px)) rotate(-5deg); }
.hero-shots .right { transform: translateX(calc(-50% + 270px)) rotate(5deg); }

/* Sections */
main { max-width: 1040px; margin: 0 auto; padding: 0 22px; }
.sec { padding: 110px 0 0; }
.sec h2, .final h2 { text-wrap: balance; color: #fafafa; font-size: clamp(34px, 5vw, 50px); line-height: 1.1; letter-spacing: -0.04em; font-weight: 600; text-align: center; max-width: 700px; margin: 0 auto 52px; padding-bottom: .06em; }

.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px 0; overflow: hidden; display: flex; flex-direction: column; }
.card h3 { font-size: 23px; line-height: 1.2; letter-spacing: -0.03em; font-weight: 600; margin: 0 0 8px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; text-wrap: pretty; }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--soft); margin-bottom: 18px; }

/* A phone peeking into a card from below; the fade is always at the bottom */
.peek { position: relative; flex: 1 0 auto; height: 440px; margin: 30px -30px 0; -webkit-mask-image: linear-gradient(#000 76%, transparent); mask-image: linear-gradient(#000 76%, transparent); }
.peek .phone { --w: 240px; position: absolute; left: 50%; top: 0; transform: translateX(-50%); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps .card p { min-height: 6.2em; }

/* Features: one card that cycles through them, tabs below. A light runs once around the active tab: that is the timer. */
.show { display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.show-text { display: grid; align-self: center; padding: 48px 0 48px 48px; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease, visibility 0s .5s; }
.slide.on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s ease .1s, transform .5s ease .1s; }
.slide h3 { font-size: 32px; line-height: 1.15; letter-spacing: -0.035em; font-weight: 600; margin: 0 0 12px; color: #fafafa; }
.slide.on h3 {
  background: linear-gradient(90deg, #fafafa 0 38%, var(--accent-soft) 47%, #fff 53%, #fafafa 60% 100%) 100% 0 / 260% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer-once 1.6s cubic-bezier(.4,0,.6,1) .15s both;
}
@keyframes shimmer-once { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.slide p { color: var(--muted); font-size: 17px; margin: 0; max-width: 390px; text-wrap: pretty; }

.show-shots { position: relative; height: 560px; margin-top: 44px; }
.shot { position: absolute; inset: 0; opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.shot.on { opacity: 1; transform: none; }
.shot .phone { --w: 280px; position: absolute; left: 50%; top: 0; transform: translateX(-50%); }
.shot .phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent 38%, rgba(167,139,250,.18) 46%, rgba(255,255,255,.2) 50%, transparent 58%) 150% 0 / 250% 100% no-repeat; }
.shot.on .phone::after { animation: glint 1.5s ease-out .2s; }
@keyframes glint { from { opacity: 1; background-position: 150% 0; } to { opacity: 1; background-position: -50% 0; } }

.tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 12px; }
.tab { position: relative; display: flex; align-items: center; gap: 8px; padding: 15px 14px; white-space: nowrap; border-radius: 18px; background: var(--card); border: 1px solid var(--line);
  color: var(--dim); font: 600 15px/1.2 inherit; font-family: inherit; letter-spacing: -0.01em; text-align: left; cursor: pointer; transition: color .25s, background .25s, border-color .25s; -webkit-tap-highlight-color: transparent; }
.tab:hover { color: var(--soft); }
.tab .ic { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--accent-soft); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .5; transition: opacity .25s, filter .25s; }
.tab .ic .fill { fill: var(--accent-soft); stroke: none; }
.tab.on { color: var(--text); background: #101010; border-color: var(--line-2); }
.tab.on .ic { opacity: 1; filter: drop-shadow(0 0 8px rgba(167,139,250,.55)); }
.tab.on span {
  background: linear-gradient(90deg, var(--text) 0 38%, var(--accent-soft) 46%, #fff 52%, var(--text) 60% 100%) 100% 0 / 260% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 3s cubic-bezier(.4,0,.6,1) infinite;
}
.ring { position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0;
  background: conic-gradient(from var(--sweep), transparent 0 62%, rgba(167,139,250,.9) 80%, #fff 88%, transparent 97%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.tab.on .ring { opacity: 1; animation: sweep 6s linear 1 paused; }
#features.run .tab.on .ring { animation-play-state: running; }
@media (hover: hover) { #features.run .tabs:hover .tab.on .ring { animation-play-state: paused; } }

/* Closing CTA: the app's prompt bar, typing real requests */
.final { text-align: center; padding: 140px 0 60px; }
.final h2 { margin-bottom: 36px; }
.askbar {
  position: relative; display: flex; align-items: center; gap: 12px; max-width: 560px; margin: 0 auto 36px;
  padding: 8px 8px 8px 18px; border-radius: 999px; background: #0e0e0e; border: 1px solid var(--line-2); text-align: left;
  box-shadow: 0 20px 60px -20px rgba(139,92,246,.35);
}
.askbar .spark { width: 18px; height: 18px; flex: none; fill: var(--accent-soft); }
.askbar .field { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; font-size: 17px; color: var(--text); display: flex; align-items: center; height: 40px; }
.askbar .ph { color: var(--dim); }
.askbar.filled .ph { display: none; }
.tcaret { display: inline-block; flex: none; width: 2px; height: 1.15em; margin-left: 1px; border-radius: 1px; background: var(--accent-soft); animation: blink 1.1s steps(1) infinite; }
.askbar.filled .tcaret { animation: none; }
.askbar:not(.filled) .tcaret { order: -1; margin: 0 2px 0 0; }
.askbar .send { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #262626; transition: background .2s, transform .2s; }
.askbar .send svg { width: 18px; height: 18px; fill: none; stroke: #6b6b6b; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }
.askbar.filled .send { background: #fff; }
.askbar.filled .send svg { stroke: #000; }
.askbar.sent .send { transform: scale(.86); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .steps .card p { min-height: 0; }
  .show { grid-template-columns: 1fr; }
  .show-text { padding: 34px 30px 0; }
  .slide h3 { font-size: 26px; }
  .slide p { font-size: 16px; }
  .show-shots { height: 470px; margin-top: 30px; }
  .shot .phone { --w: 240px; }
  .tabs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .hero { padding-top: 72px; }
  .hero .lede { font-size: 17.5px; }
  .hero-shots { height: 520px; margin-top: 48px; }
  .hero-shots .center { --w: 250px; }
  .hero-shots .side { --w: 210px; top: 56px; opacity: .55; }
  .hero-shots .left { transform: translateX(calc(-50% - 170px)) rotate(-5deg); }
  .hero-shots .right { transform: translateX(calc(-50% + 170px)) rotate(5deg); }
  .sec { padding-top: 88px; }
  .tab { flex-direction: column; justify-content: center; gap: 7px; padding: 14px 6px 12px; font-size: 13px; text-align: center; white-space: nowrap; }
  .askbar .field { font-size: 15.5px; }
  .foot-in .brand { width: 100%; }
}

@media (prefers-reduced-motion: reduce) { .eyebrow svg, .eyebrow span, .eyebrow::before, .askbar::before, .caret, .tcaret, .tab.on span, .slide.on h3, .shot.on .phone::after { animation: none; }
  .tab.on .ring { display: none; } }
