/* Gosugi LLC — corporate site styles (dark theme) */
:root {
  --ink: #eef1f7;
  --ink-soft: #b3bccd;
  --muted: #808ba1;
  --line: rgba(255, 255, 255, .10);
  --bg: #0b0e14;
  --bg-soft: #11151e;
  --surface: #161b26;
  --brand: #8aa2ff;
  --brand-strong: #3b5bdb;
  --brand-dark: #2f4bc0;
  --brand-tint: rgba(138, 162, 255, .13);
  --accent: #2bd4a7;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 34px rgba(0, 0, 0, .5);
  --wrap: 1080px;

  /* ThatOneTime brand tokens (from the TOT design system) */
  --tot-gold: #f9b233;
  --tot-orange: #f2683a;
  --tot-red: #e0392b;
  --tot-magenta: #d81e6a;
  --tot-plum: #3a1220;
  --tot-cream: #fbf6ee;
  --tot-warm-light: #ffd6c6;
  --tot-gradient: linear-gradient(135deg, #f9b233 0%, #f2683a 42%, #e0392b 66%, #d81e6a 100%);
  --tot-gradient-soft: linear-gradient(135deg, #1d1418 0%, #181420 60%, #14131c 100%);
  --tot-glow: 0 24px 60px rgba(216, 57, 43, .28), 0 8px 24px rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11,14,20,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.brand-lockup { display: flex; align-items: center; gap: 11px; font-weight: 700; color: var(--ink); font-size: 1.12rem; letter-spacing: -.01em; }
.brand-lockup:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(145deg, #7d99ff 0%, #3b5bdb 55%, #2b3fa8 100%);
  color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 1rem; letter-spacing: -.02em;
  box-shadow: 0 0 0 1px rgba(138,162,255,.30) inset,
              0 4px 14px rgba(59,91,219,.50),
              0 0 22px rgba(125,153,255,.28);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-toggle { display: none; }

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 70% -10%, var(--brand-tint), transparent 60%), var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 88px 0 72px;
}
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand);
  background: var(--brand-tint); padding: 6px 12px; border-radius: 999px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -.025em;
  margin: 22px 0 18px; max-width: 18ch;
}
.hero p.lede { font-size: 1.22rem; color: var(--ink-soft); max-width: 60ch; margin: 0 0 30px; }

.btn {
  display: inline-block; font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: 10px; cursor: pointer;
  transition: transform .06s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand-strong); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); margin-left: 10px; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-row { margin-top: 6px; }

/* Sections */
section.block { padding: 74px 0; }
section.block.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); letter-spacing: -.02em; margin: 0 0 14px; }
.section-head p { font-size: 1.1rem; color: var(--ink-soft); margin: 0; }

h2 { color: var(--ink); }
h3 { letter-spacing: -.01em; }

/* Cards grid */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 10px; font-size: 1.18rem; }
.card p { margin: 0; color: var(--ink-soft); }
.card .ic {
  width: 42px; height: 42px; border-radius: 10px; background: var(--brand-tint);
  display: grid; place-items: center; margin-bottom: 16px; font-size: 1.3rem;
}

/* Warm brand gradient band (matches the product-hero card) */
section.block.tot-band {
  background:
    radial-gradient(1000px 520px at 82% -12%, rgba(216, 57, 43, .18), transparent 62%),
    radial-gradient(900px 480px at 10% 110%, rgba(216, 30, 106, .14), transparent 60%),
    var(--tot-gradient-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Product feature (ThatOneTime) */
.product-hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  background: var(--tot-gradient-soft);
  border: 1px solid var(--line); border-radius: 24px; padding: 48px;
}
/* soft brand glow behind the product hero */
.product-hero::before {
  content: ""; position: absolute; top: -30%; right: -10%;
  width: 520px; height: 520px; border-radius: 50%;
  background: var(--tot-gradient); opacity: .28; filter: blur(70px);
  pointer-events: none; z-index: 0;
}
.product-hero > * { position: relative; z-index: 1; }
.product-hero .tot-mark {
  width: 60px; height: 60px; margin-bottom: 18px;
  background: url("assets/tot/tot-sun.svg") center/contain no-repeat;
  filter: drop-shadow(0 6px 14px rgba(216, 57, 43, .28));
}
.product-hero h2 { margin: 0 0 14px; color: var(--ink); }
.product-hero p { color: var(--tot-warm-light); }
.badge-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.badge-list li { padding-left: 28px; position: relative; color: var(--tot-warm-light); }
.badge-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--tot-gold); font-weight: 800;
}
/* TOT-branded button variant */
.btn-tot { background: var(--tot-gradient); color: #fff; box-shadow: var(--tot-glow); border: none; }
.btn-tot:hover { filter: brightness(1.06); color: #fff; }
.btn-tot-ghost { background: rgba(255,255,255,.06); color: var(--tot-warm-light); border: 1px solid rgba(255,255,255,.18); margin-left: 10px; }
.btn-tot-ghost:hover { border-color: var(--tot-gold); color: var(--tot-gold); }

/* Real product screenshot — transparent PNG sits directly on the page */
.shot { display: block; width: 100%; height: auto; }

/* Wordmark lockup */
.tot-wordmark { height: 40px; width: auto; display: block; }

/* "What's inside" image + text feature blocks */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  padding: 34px 0;
}
.feature:nth-child(even) .feature-media { order: 2; }
.feature h3 { font-size: 1.5rem; letter-spacing: -.01em; margin: 0 0 12px; color: var(--ink); }
.feature p { margin: 0; color: var(--ink-soft); font-size: 1.06rem; }
.feature .tag {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #ff9c7a;
  background: rgba(255,120,90,.14); padding: 5px 11px; border-radius: 999px; margin-bottom: 14px;
}

/* Full-width lifestyle band */
.lifestyle-band {
  position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--tot-glow);
  aspect-ratio: 21 / 8; background: #ddd;
}
.lifestyle-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lifestyle-band .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(58,18,32,.55) 0%, rgba(58,18,32,.15) 45%, transparent 70%);
  display: flex; align-items: center; padding: 0 clamp(24px, 5vw, 60px);
}
.lifestyle-band .overlay p {
  color: #fff; font-size: clamp(1.2rem, 2.6vw, 1.9rem); font-weight: 600;
  letter-spacing: -.01em; max-width: 24ch; margin: 0; line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

/* Feature list rows */
.feat-rows { display: grid; gap: 18px; }
.feat-row {
  display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: start;
  padding: 20px 0; border-top: 1px solid var(--line);
}
.feat-row:first-child { border-top: none; }
.feat-row h4 { margin: 0; font-size: 1.1rem; color: var(--brand); }
.feat-row p { margin: 0; color: var(--ink-soft); }

/* Prose (about, privacy) */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 44px; font-size: 1.5rem; }
.prose h3 { margin-top: 30px; font-size: 1.18rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 22px; }
.prose li { margin: 8px 0; }
.page-title { padding: 64px 0 12px; }
.page-title .eyebrow { margin-bottom: 16px; }
.page-title h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); letter-spacing: -.02em; margin: 0 0 12px; }
.page-title p { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; margin: 0; }
.updated { font-size: .9rem; color: var(--muted); }

/* Contact */
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow); max-width: 520px;
}
.contact-row { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-row:first-child { border-top: none; }
.contact-row .label { font-weight: 600; min-width: 92px; color: var(--ink); }
.contact-row .val { color: var(--ink-soft); }

/* Legal entity strip */
.entity-strip {
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center;
  margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: .95rem; color: var(--muted);
}
.entity-strip strong { color: var(--ink); }

/* Footer */
.site-footer {
  background: var(--bg-soft); border-top: 1px solid var(--line);
  padding: 52px 0 40px; margin-top: 20px;
}
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.footer-brand { max-width: 320px; }
.footer-brand p { color: var(--muted); font-size: .95rem; margin: 12px 0 0; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h5 { margin: 0 0 12px; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.footer-col a { display: block; color: var(--ink-soft); font-size: .95rem; margin: 8px 0; }
.footer-col a:hover { color: var(--brand); text-decoration: none; }
.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: .88rem; color: var(--muted);
}

/* Responsive */
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .product-hero { grid-template-columns: 1fr; padding: 32px; }
  .feat-row { grid-template-columns: 1fr; gap: 4px; }
  .feature { grid-template-columns: 1fr; gap: 22px; padding: 24px 0; }
  .feature .feature-media,
  .feature:nth-child(even) .feature-media { order: 0; }
  .lifestyle-band { aspect-ratio: 3 / 2; }
  .nav-links { display: none; }
  .hero { padding: 60px 0 50px; }
  section.block { padding: 54px 0; }
}
