/* Tinybell Studio landing page
   World: a shop door with a small brass bell; Seoul at night, the US in the morning.
   Warm paper neutrals, one brass accent, Instrument Serif for headlines only. */

:root {
  --bg: #f7f4ee;
  --card: #fdfbf7;
  --raised: #efe9df;
  --line: rgba(31, 27, 22, 0.09);
  --text: #1f1b16;
  --text-2: #5e554a;
  --text-3: #7b7266;

  --brass: #9a6a1f;        /* accent: bell, live dot, key figure */
  --brass-soft: #c89b4a;

  --night: #161513;
  --night-card: #1c1a18;
  --night-line: rgba(239, 233, 222, 0.1);
  --night-text: #efe9de;
  --night-text-2: #aaa398;
  --night-text-3: #8a847a;

  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: 44px; line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: 36px; line-height: 1.08; letter-spacing: -0.01em; }
h3 { font-size: 17px; line-height: 1.4; font-weight: 500; }
.sub { color: var(--text-2); font-size: 17px; line-height: 1.6; max-width: 36rem; margin-top: 16px; }
.muted { color: var(--text-3); }

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

/* Placeholders the owner fills before launch (see README) */
.todo { background: rgba(200, 155, 74, 0.22); border-radius: 4px; padding: 0 4px; }

/* Brand mark */
.bell { width: 20px; height: 20px; color: var(--brass); flex: none; }
.bell-lg { width: 32px; height: 32px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 20px;
  border-radius: 10px;
  background: var(--text); color: var(--bg);
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: background-color 160ms var(--ease), transform 120ms var(--ease);
}
.btn:hover { background: #000; }
.btn:active { transform: scale(0.98); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.btn-quiet { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px rgba(31, 27, 22, 0.2); }
.btn-quiet:hover { background: var(--raised); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 8px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 244, 238, 0.9);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.nav-links { display: none; gap: 24px; margin-left: auto; font-size: 14px; color: var(--text-2); }
.nav-links a { text-decoration: none; transition: color 160ms var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav .btn-sm { margin-left: auto; }

/* Hero */
.hero { padding: 48px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; }
.hero-text { animation: rise 500ms var(--ease) both; }
.lede { color: var(--text-2); font-size: 18px; line-height: 1.6; max-width: 34rem; margin-top: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.clock-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 24px; font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.clock-line[hidden] { display: none; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.sep { color: var(--text-3); }
.hero-visual { display: flex; justify-content: center; animation: rise 500ms 60ms var(--ease) both; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Phone frame and the sample site inside it.
   The screen copies the real pet-grooming template so the preview is honest. */
.phone { margin: 0; width: 264px; }
.phone .screen {
  position: relative;
  height: 540px; overflow: hidden;
  border-radius: 32px;
  background: #fffdf9;
  border: 8px solid #1f1b16;
  box-shadow: 0 1px 2px rgba(31, 27, 22, 0.08), 0 24px 48px rgba(31, 27, 22, 0.14);
  font-size: 11px; line-height: 1.4; color: #1f1d1a;
}
.phone-lg { width: 300px; }
.phone-lg .screen { height: 612px; border-radius: 36px; border-width: 10px; }
.s-bar { display: flex; justify-content: space-between; align-items: center; height: 40px; padding: 0 16px; border-bottom: 1px solid #ece6da; font-family: var(--serif); font-size: 13px; }
.s-call { font-family: var(--sans); font-size: 11px; font-weight: 600; color: var(--accent); }
.s-photo { height: 168px; background-color: var(--raised); background-size: cover; background-position: center; }
.phone-lg .s-photo { height: 188px; }
.s-hero { padding: 16px; background: color-mix(in srgb, var(--accent) 9%, #fff); }
.s-kind { color: var(--accent); font-weight: 600; font-size: 10px; margin-bottom: 4px; }
.s-name { font-family: var(--serif); font-size: 24px; line-height: 1.1; margin-bottom: 8px; }
.s-tag { color: #5f5a52; margin-bottom: 12px; }
.s-btn { display: flex; align-items: center; justify-content: center; height: 32px; border-radius: 16px; background: var(--accent); color: #fff; font-weight: 600; margin-top: 4px; }
.s-block { padding: 12px 16px 4px; border-bottom: 1px solid #ece6da; }
.s-block:last-child { border-bottom: 0; }
.s-label { font-family: var(--serif); font-size: 15px; margin-bottom: 8px; }
.s-row { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: #5f5a52; font-variant-numeric: tabular-nums; }
.s-row span:first-child { color: #1f1d1a; font-weight: 500; }
.sample-note { margin-top: 16px; text-align: center; font-size: 13px; color: var(--text-3); }

/* Sections */
.section { padding: 80px 0; scroll-margin-top: 64px; }
.section-raised { background: var(--raised); }
.section-head { margin-bottom: 40px; }
.split { display: grid; gap: 32px; }

/* What customers get */
.needs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.needs li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.needs .n { font-size: 13px; color: var(--brass); font-variant-numeric: tabular-nums; padding-top: 2px; }
.needs p { color: var(--text-2); margin-top: 4px; }

/* Samples: horizontal scroll on phones, three across on desktop */
.samples-scroll { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.samples-scroll::-webkit-scrollbar { display: none; }
.samples { display: flex; gap: 24px; padding: 8px 24px 32px; width: max-content; }
.sample { margin: 0; scroll-snap-align: center; width: 264px; }
.sample figcaption { margin-top: 20px; display: grid; gap: 4px; }
.cap-title { font-weight: 500; }
.cap-text { color: var(--text-2); font-size: 14px; line-height: 1.5; }

/* Night section */
.night { background: var(--night); color: var(--night-text); }
.night h2 { color: var(--night-text); }
.night-head { display: grid; gap: 32px; }
.clocks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.clocks[hidden] { display: none; }
.clock { padding: 20px; border-radius: 14px; background: var(--night-card); box-shadow: inset 0 0 0 1px var(--night-line); display: grid; gap: 4px; }
.clock-time { font-size: 24px; line-height: 1.1; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; white-space: nowrap; }
.clock:first-child .clock-time { color: var(--brass-soft); }
.clock-place { font-size: 13px; color: var(--night-text-3); }
.night-note { color: var(--night-text-2); font-size: 17px; max-width: 36rem; margin-top: 24px; }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 32px; }
.steps li { border-top: 1px solid var(--night-line); padding-top: 20px; }
.step-n { display: block; font-size: 13px; color: var(--night-text-3); margin-bottom: 12px; }
.steps h3 { color: var(--night-text); font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--night-text-2); }

/* Pricing */
.plans { display: grid; gap: 16px; }
.plan { background: var(--card); border-radius: 16px; padding: 28px 24px; box-shadow: inset 0 0 0 1px var(--line); }
.plan-main { box-shadow: inset 0 0 0 1px rgba(31, 27, 22, 0.22); }
.plan-top { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.price { font-family: var(--serif); font-size: 44px; line-height: 1.1; margin-top: 12px; font-variant-numeric: tabular-nums; }
.plan-meta { font-size: 13px; color: var(--text-3); margin-top: 4px; }
.checks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 24px; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 0.5em;
  width: 10px; height: 5px;
  border-left: 1.5px solid var(--text-2); border-bottom: 1.5px solid var(--text-2);
  transform: rotate(-45deg);
}
.plan-note { font-size: 14px; color: var(--text-2); }
.fineprint { margin-top: 24px; font-size: 14px; color: var(--text-2); max-width: 40rem; }

/* About */
.about-text { display: grid; gap: 16px; font-size: 17px; color: var(--text-2); max-width: 38rem; }
.about-text p:last-child { color: var(--text); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 16px 0;
  font-weight: 500; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px;
  border-right: 1.5px solid var(--text-3); border-bottom: 1.5px solid var(--text-3);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms var(--ease);
}
.faq details[open] summary::after { transform: translateY(3px) rotate(225deg); }
.faq details p { color: var(--text-2); padding: 0 32px 24px 0; max-width: 40rem; }

/* Contact */
.contact { text-align: center; border-top: 1px solid var(--line); }
.contact-inner { display: grid; justify-items: center; }
.contact h2 { margin-top: 20px; }
.contact .sub { margin: 16px auto 32px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--text-2); }
.footer-inner { display: grid; gap: 4px; }
.footer-brand { color: var(--text); font-weight: 500; }

@media (min-width: 720px) {
  h1 { font-size: 64px; letter-spacing: -0.03em; }
  h2 { font-size: 44px; }
  .wrap { padding: 0 32px; }
  .section { padding: 112px 0; }
  .hero { padding: 64px 0 96px; }
  .split { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .plans { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .night-head { grid-template-columns: 1fr auto; align-items: end; }
  .clocks { grid-template-columns: 200px 200px; }
  .clock-time { font-size: 32px; }
  .samples { margin: 0 auto; padding: 8px 32px 32px; gap: 40px; }
}

@media (min-width: 960px) {
  h1 { font-size: 72px; }
  .nav-links { display: flex; }
  .nav .btn-sm { margin-left: 0; }
  .hero-grid { grid-template-columns: 1fr 360px; gap: 64px; align-items: center; }
  .hero-text { max-width: 600px; }
  .hero-visual { justify-content: flex-end; }
  .samples-scroll { overflow: visible; }
  .samples { width: auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-text, .hero-visual { animation: none; }
  html { scroll-behavior: auto; }
}
