/* fuckcluely.dev: one stylesheet for every page. Dark, a red sun, one glossy button. */
:root {
  --bg: #07070a;
  --surface: #101016;
  --line: rgba(255, 255, 255, 0.08);
  --text: #ededf2;
  --muted: #8a8a99;
  --faint: #5c5c6b;
  --red: #e5333d;
  --red-soft: #ff6a72;
  --serif: 'EB Garamond', Georgia, serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/24px var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* Nav */
nav { position: absolute; inset: 0 0 auto; z-index: 10; }
nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 18px; letter-spacing: -0.3px; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
nav .links { display: flex; gap: 22px; font-size: 14px; font-weight: 500; color: rgba(237, 237, 242, 0.7); }
nav .links a:hover, nav .links a[aria-current] { color: #fff; }
nav .grow { flex: 1; }
nav .btn { height: 34px; padding: 0 14px; font-size: 14px; border-radius: 10px; }

/* The sky behind every page's top: night, a red sun, three ridges */
.sky { position: absolute; inset: 0 0 auto; height: 660px; overflow: hidden; pointer-events: none;
  background: radial-gradient(60% 55% at 74% 70%, rgba(229, 51, 61, 0.35), rgba(229, 51, 61, 0) 70%), linear-gradient(#050509 0%, #0d0b1a 40%, #2a0d1a 70%, #4a1220 88%, #07070a 100%); }
.sky.short { height: 480px; }
.stars { position: absolute; inset: 0; opacity: 0.7;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 27% 8%, #fff, transparent),
    radial-gradient(1px 1px at 41% 22%, #fff, transparent), radial-gradient(1.5px 1.5px at 63% 12%, #fff, transparent),
    radial-gradient(1px 1px at 78% 26%, #fff, transparent), radial-gradient(1px 1px at 88% 9%, #fff, transparent),
    radial-gradient(1px 1px at 6% 34%, #fff, transparent), radial-gradient(1.5px 1.5px at 93% 38%, #fff, transparent),
    radial-gradient(1px 1px at 55% 31%, #fff, transparent), radial-gradient(1px 1px at 34% 40%, #fff, transparent); }
.sun { position: absolute; left: 74%; top: 330px; width: 240px; height: 240px; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #ff6a5f, #c2141f 55%, #6d0710); box-shadow: 0 0 120px 40px rgba(229, 51, 61, 0.3); }
/* Full width at the drawing's own proportions, so the peaks are never cropped; narrow screens crop the sides instead. */
.mountains { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; aspect-ratio: 1440 / 360; min-height: 200px; object-fit: cover; object-position: 50% 100%; }
.sky.short .sun { top: 250px; width: 170px; height: 170px; }

/* Page tops */
.hero { position: relative; padding: 150px 0 0; text-align: center; }
.hero .wrap { position: relative; z-index: 2; }
.page-top { position: relative; min-height: 480px; padding: 150px 0 110px; text-align: center; } /* at least the sky's height, so text starts below the mountains */
.page-top .wrap { position: relative; z-index: 2; }
h1 { font: 500 76px/0.98 var(--serif); letter-spacing: -1px; margin: 0 auto; max-width: 820px; color: #fff; }
.page-top h1 { font-size: 60px; }
h1 .w { display: inline-block; animation: rise 0.7s cubic-bezier(.2, .7, .2, 1) both; }
.lede { font-size: 18px; line-height: 28px; max-width: 540px; margin: 22px auto 30px; color: rgba(237, 237, 242, 0.82); animation: fade-up 0.7s 0.4s both; }
.actions { display: flex; flex-direction: column; align-items: center; gap: 12px; animation: fade-up 0.7s 0.55s both; }
.fine { font-size: 13px; color: var(--muted); }
@keyframes rise { from { opacity: 0; translate: 0 0.35em; filter: blur(6px); } }
@keyframes fade-up { from { opacity: 0; translate: 0 10px; } }

/* The one glossy button */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; font: 500 16px var(--sans); color: #fff; border: 0; cursor: pointer;
  background: radial-gradient(101% 101% at 66% 82%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 100%), radial-gradient(115% 115% at 10% 17%, #ff3b45, #8e1018);
  box-shadow: 18px 18px 28px rgba(180, 18, 30, 0.3), inset -3px -3px 4px rgba(255, 190, 190, 0.35), inset 4px 4px 4px rgba(60, 0, 0, 0.3);
  transition: transform 0.16s, filter 0.15s; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn.plain { background: #1a1a22; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.textlink { font-size: 14px; color: var(--muted); }
.textlink:hover { color: var(--text); }

/* Sections */
section { position: relative; padding: 120px 0 0; }
h2 { font: 500 46px/56px var(--sans); letter-spacing: -1.2px; margin: 0 0 16px;
  background: linear-gradient(to right, #f6f6f8, #6e6e80); -webkit-background-clip: text; background-clip: text; color: transparent; }
h3 { font: 500 17px/24px var(--sans); margin: 0; }
.center { text-align: center; }
.sub { font-size: 17px; line-height: 27px; color: var(--muted); max-width: 540px; margin: 0 0 36px; }
.center .sub { margin-inline: auto; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.card { border-radius: 20px; border: 1px solid var(--line); background: radial-gradient(92% 126% at 50% 100%, #111118 59%, #1b1b27 100%); }
.red-card { border-radius: 32px; padding: 26px;
  background: radial-gradient(167% 140% at 80% 0%, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 100%), radial-gradient(120% 125% at 7% 100%, #5e0a12, #b81d28);
  box-shadow: inset 2px 2px 8px rgba(255, 255, 255, 0.13), inset 1px 1px 4px rgba(255, 255, 255, 0.13); }
kbd { font: 12px var(--mono); color: var(--text); padding: 3px 8px; border-radius: 6px; background: #1b1b24; border: 1px solid rgba(255, 255, 255, 0.1); white-space: nowrap; }
.note { font-size: 12px; color: var(--faint); margin-top: 14px; }

/* The demo: a made-up call with the real Glint screens over it */
.demo { position: relative; z-index: 2; margin: 90px auto 0; max-width: 980px; animation: fade-up 0.9s 0.7s both; }
.call { position: relative; border-radius: 14px; overflow: hidden; background: #0b0b10; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7); aspect-ratio: 16 / 10; }
.call .bar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; background: #15151c; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.call .bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a46; }
.call .bar .title { flex: 1; text-align: center; }
.live { display: inline-flex; align-items: center; gap: 6px; font: 12px var(--mono); color: #ffb3b6; }
.live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }
.tiles { position: absolute; inset: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; padding: 8px; }
.tile { position: relative; border-radius: 10px; display: grid; place-items: center; overflow: hidden; }
.tile b { opacity: 0.55;
   width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font: 500 30px var(--sans); color: rgba(255, 255, 255, 0.85); background: rgba(0, 0, 0, 0.3); }
.tile span { position: absolute; left: 12px; bottom: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.85); }
.tile.speaking { box-shadow: inset 0 0 0 2px rgba(120, 220, 160, 0.7); }
.t1 { background: linear-gradient(160deg, #24161d, #111014); }
.t2 { background: linear-gradient(160deg, #161d24, #0f1114); }
.t3 { background: linear-gradient(160deg, #1c1b26, #101016); }
.t4 { background: linear-gradient(160deg, #241c16, #121010); }
.overlay { position: absolute; inset: 30px 0 0; transition: opacity 0.25s; }
.overlay img { position: absolute; transition: opacity 0.25s, translate 0.25s; }
/* The screenshots are solid with transparent surroundings; a shadow sets them on the call. */
.overlay img { filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.55)); }
.overlay .capsule { top: 14px; left: 50%; translate: -50% 0; width: min(74%, 700px); }
.overlay .panel { top: 66px; left: 50%; translate: -50% 0; width: min(58%, 540px); opacity: 0; }
.overlay .corner { right: 18px; bottom: 18px; opacity: 0; translate: 0 8px; }
.overlay .glance { width: min(48%, 420px); }
.overlay .ghost { width: min(22%, 190px); }
.demo[data-view='ask'] .panel.ask, .demo[data-view='transcript'] .panel.transcript { opacity: 1; }
.demo[data-view='glance'] .corner.glance, .demo[data-view='ghost'] .corner.ghost { opacity: 1; translate: 0 0; }
.demo[data-view='glance'] .capsule, .demo[data-view='ghost'] .capsule { opacity: 0; }
.demo.hidden .overlay, .demo.shared .overlay { opacity: 0; }
.shared-tag { position: absolute; left: 50%; top: 50%; translate: -50% -50%; padding: 8px 14px; border-radius: 999px; background: rgba(8, 8, 12, 0.8); border: 1px solid var(--line); font-size: 14px; opacity: 0; transition: opacity 0.25s; pointer-events: none; }
.demo.shared .shared-tag { opacity: 1; }
.controls { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; font: 500 13px var(--sans); color: var(--muted); background: #121219; border: 1px solid var(--line); cursor: pointer; transition: color 0.15s, background-color 0.15s, border-color 0.15s; }
.chip:hover { color: var(--text); }
.chip[aria-pressed='true'] { color: #fff; background: #2a1016; border-color: rgba(229, 51, 61, 0.5); }
.chip kbd { padding: 1px 6px; font-size: 11px; }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); cursor: pointer; margin-left: 10px; }
.switch input { appearance: none; width: 30px; height: 18px; border-radius: 9px; background: #2a2a34; position: relative; cursor: pointer; transition: background-color 0.15s; margin: 0; }
.switch input::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: translate 0.15s; }
.switch input:checked { background: var(--red); }
.switch input:checked::after { translate: 12px 0; }
.caption { text-align: center; color: var(--muted); font-size: 14px; margin: 14px auto 0; max-width: 560px; min-height: 22px; }

/* Rows of how-tos */
.rows { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.row { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: start; }
.row b { display: block; font-weight: 500; }
.row span { color: var(--muted); font-size: 15px; }

/* Participant list */
.people { padding: 22px; }
.people h3 { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.person { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.person i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 500 13px var(--sans); font-style: normal; background: #22222c; }
.person small { margin-left: auto; color: var(--faint); font-size: 12px; }
.person.missing { color: var(--faint); text-decoration: line-through; }
.keys { display: flex; gap: 8px; align-items: center; margin-top: 18px; }
.keys kbd { font-size: 16px; padding: 10px 14px; border-radius: 10px; cursor: pointer; transition: background-color 0.1s, translate 0.1s; }
.keys kbd.down { background: #2a1016; translate: 0 2px; }

/* Grid of features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grid .card { padding: 24px; min-height: 200px; display: flex; flex-direction: column; gap: 8px; }
.grid .card svg { width: 24px; height: 24px; color: var(--red-soft); margin-bottom: 8px; }
.grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 23px; }

/* Screenshots on the page: no frame, just a shadow */
.float { filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6)); margin: 0 auto; }
.float-glow { position: relative; }
.float-glow::before { content: ''; position: absolute; inset: 10% 15%; background: radial-gradient(closest-side, rgba(229, 51, 61, 0.22), transparent); filter: blur(40px); z-index: -1; }

/* Pricing */
.period { display: inline-flex; padding: 3px; border-radius: 999px; background: #121219; border: 1px solid var(--line); margin-bottom: 36px; }
.period button { height: 32px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 500 13px var(--sans); cursor: pointer; }
.period button[aria-pressed='true'] { background: #2a1016; color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.plan { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.plan.best { border-color: rgba(229, 51, 61, 0.45); }
.plan .price { font: 500 46px/1 var(--serif); color: #fff; }
.plan .price small { font: 14px var(--sans); color: var(--muted); margin-left: 6px; }
.plan .per { font-size: 13px; color: var(--muted); min-height: 20px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; color: #c9c9d6; }
.plan li::before { content: '✓'; color: var(--red-soft); margin-right: 8px; }
.plan .btn { justify-content: center; margin-top: auto; }
table.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font: 500 12px var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; }
.compare td:first-child { color: var(--muted); width: 32%; }
.compare td:nth-child(2) { color: #b9b9c6; width: 34%; }
.compare td:nth-child(3) { color: #fff; font-weight: 500; }
.compare-card { padding: 6px 32px 18px; }

/* Terminal and copy */
.term { border-radius: 20px; padding: 20px; font: 13px/1.7 var(--mono); color: #c9c9d6; overflow-x: auto; }
.term .dots { display: flex; gap: 6px; margin-bottom: 14px; }
.term .dots i { width: 10px; height: 10px; border-radius: 50%; background: #2c2c38; }
.term .p { color: var(--red-soft); }
.term .dim { color: var(--faint); }
.cmd { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; border-radius: 12px; background: #0d0d12; border: 1px solid var(--line); font: 13px var(--mono); text-align: left; }
.cmd code { flex: 1; overflow-x: auto; white-space: nowrap; }
.cmd button { flex: none; }
.steps { counter-reset: step; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 500 13px var(--mono); background: #1b1b24; color: var(--red-soft); }
.step p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* Long text (manifesto) */
.prose { font-size: 18px; line-height: 30px; color: #cfcfda; }
.prose p { margin: 0 0 22px; }
.prose h3 { font: 500 26px var(--serif); color: #fff; margin: 40px 0 12px; }
.sign { font: italic 20px var(--serif); color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.faq h2 { font-size: 38px; line-height: 46px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--muted); font-weight: 400; transition: rotate 0.16s; }
details[open] summary::after { rotate: 45deg; }
details p { margin: 0 0 20px; color: var(--muted); font-size: 15px; max-width: 560px; }

/* Closing and footer */
.closing { text-align: center; padding: 140px 0 150px; }
.closing h2 { font: 500 54px/1.05 var(--serif); letter-spacing: -0.8px; }
footer { border-top: 1px solid var(--line); background: linear-gradient(#0a0a0e, #0d0d13); padding: 56px 0 40px; font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 2fr; gap: 32px; }
footer h4 { margin: 0 0 12px; font: 500 12px var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); }
footer a:hover { color: var(--text); }
footer .small { color: var(--faint); font-size: 12px; line-height: 19px; }

@media (max-width: 760px) {
  nav .links { display: none; }
  h1 { font-size: 46px; }
  .page-top h1 { font-size: 40px; }
  h2 { font-size: 32px; line-height: 40px; }
  .two, .faq, .grid, .plans, footer .cols { grid-template-columns: 1fr; }
  .sun { width: 110px; height: 110px; top: 470px; left: 80%; }
  .call { aspect-ratio: 3 / 4; }
  .tiles { grid-template-columns: 1fr; grid-template-rows: repeat(4, 1fr); }
  .overlay .capsule { width: 94%; }
  .overlay .panel { width: 92%; top: 46px; }
  .overlay .glance { width: 86%; }
  .overlay .ghost { width: 50%; }
  .compare-card { padding: 4px 16px 12px; }
  .closing h2 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.hideable img { transition: opacity 0.2s; filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.55)); }
.hideable.hidden img { opacity: 0; }

/* Features page: a screenshot and its text, alternating sides */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.feature.flip { grid-template-columns: 1fr 1.15fr; }
.feature.flip .pic { order: 2; }
.feature .pic { display: grid; place-items: center; min-height: 260px; padding: 28px; }
.feature .pic img { filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.6)); }
.feature h2 { font-size: 38px; line-height: 46px; }
.feature .sub { margin-bottom: 18px; }
.feature ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: #c9c9d6; font-size: 15px; }
.feature li::before { content: '✓'; color: var(--red-soft); margin-right: 8px; }
.feature kbd { margin-left: 2px; }
@media (max-width: 760px) { .feature, .feature.flip { grid-template-columns: 1fr; gap: 24px; } .feature.flip .pic { order: 0; } }

/* Footer: the company behind it, in the first column */
footer .maker { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 12px; color: var(--faint); }
footer .maker .by { display: flex; align-items: center; gap: 8px; color: var(--faint); }
footer .maker .by img { height: 40px; width: auto; }

/* Features: line icons in a red tile, Glint's own above each heading, Lucide's on the cards */
.app-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; margin-bottom: 16px; color: var(--red-soft);
  background: rgba(229, 51, 61, 0.12); border: 1px solid rgba(229, 51, 61, 0.28); }
.app-icon svg { width: 18px; height: 18px; }
footer .maker .brand { color: var(--text); }

/* Mac and Windows: a download button each, and a card each on the download page. */
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.platforms .btn svg { width: 17px; height: 17px; }
.platform-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.platform { padding: 28px; scroll-margin-top: 90px; }
.platform-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.platform-head h2 { margin: 0; font: 500 34px/1.1 var(--serif); }
.platform-head .note { margin: 4px 0 0; }
.platform-logo { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #1b1b24; border: 1px solid var(--line); color: #fff; flex: none; }
.platform-logo svg { width: 24px; height: 24px; }
.platform .steps { margin-top: 20px; }
.platform .step:first-child { border-top: 0; }
@media (max-width: 860px) { .platform-cols { grid-template-columns: minmax(0, 1fr); } .platform { padding: 22px 18px; } }
