/* keepsturdy.com: one dark stylesheet for the landing, privacy and support pages. */
:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #0e0e10;
  --raised: #1c1c1e;
  --line: #232326;
  --text: #fff;
  --muted: #9d9da3;
  --dim: #8e8e93;
  --mint: #63e6e2;
  --green: #30d158;
  --orange: #ff9f0a;
  --yellow: #ffd60a;
  --brand: "Josefin Sans", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img, svg { display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Navigation */
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 28px; height: 28px; }
.wordmark { font-family: var(--brand); font-weight: 700; font-size: 23px; letter-spacing: 0.01em; line-height: 1; padding-top: 0.2em; }
.links { display: flex; align-items: center; gap: 24px; font-size: 14px; color: var(--muted); }
.links a { text-decoration: none; transition: color 0.15s; }
.links a:hover { color: var(--text); }
.pill { background: var(--text); color: #000 !important; border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.pill:hover { opacity: 0.88; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.15fr 1fr auto; align-items: center; gap: 28px;
  padding-block: 48px 72px;
}
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; color: var(--mint); text-transform: uppercase; }
.hero h1 {
  font-family: var(--brand); font-weight: 700; font-size: clamp(44px, 6.4vw, 72px);
  line-height: 1.02; letter-spacing: -0.005em; margin: 16px 0 18px;
}
.lead { font-size: 18px; color: var(--muted); margin: 0; max-width: 26em; }
.get { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 30px; }
.get img { height: 48px; width: auto; }
.note { font-size: 14px; color: var(--muted); }
.note b { color: var(--text); font-weight: 600; }

.rings { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.rings svg { width: min(100%, 250px); height: auto; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 13.5px; color: var(--muted); }
.legend b { font-weight: 700; }

.arc { animation: fill 1.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.arc.d1 { animation-delay: 0.15s; }
.arc.d2 { animation-delay: 0.3s; }
@keyframes fill { from { stroke-dashoffset: var(--from); } to { stroke-dashoffset: var(--to); } }
@media (prefers-reduced-motion: reduce) { .arc { animation: none; stroke-dashoffset: var(--to); } }

/* Phone with the home-screen widget */
.phone {
  position: relative; width: 196px; height: 392px; flex: none;
  border-radius: 44px; background: #0b0b0c; border: 4px solid #2a2a2d;
  padding: 16px 13px; box-shadow: 0 30px 80px -20px rgba(99, 230, 226, 0.18);
}
.status { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; padding: 0 10px; }
.widget { display: flex; justify-content: space-around; background: var(--raised); border-radius: 22px; padding: 12px 6px 10px; margin-top: 12px; }
.widget div { text-align: center; font-size: 12.5px; font-weight: 700; }
.widget svg { width: 42px; height: 42px; margin: 0 auto 4px; }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; padding: 0 4px; }
.apps span { aspect-ratio: 1; border-radius: 10px; background: var(--raised); }
.apps .me { display: flex; align-items: center; justify-content: center; background: #000; border: 0.5px solid #2c2c2e; }
.apps .me svg { width: 62%; height: 62%; }
.home-bar { position: absolute; left: 50%; bottom: 9px; width: 64px; height: 5px; margin-left: -32px; border-radius: 3px; background: #3a3a3c; }

/* Sections */
.section { padding-block: 56px; border-top: 0.5px solid #141416; }
.section h2 { font-family: var(--brand); font-weight: 700; font-size: clamp(30px, 4vw, 40px); line-height: 1.1; margin: 0 0 10px; }
.section > .wrap > p { color: var(--muted); margin: 0 0 30px; max-width: 34em; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { background: var(--surface); border: 0.5px solid var(--line); border-radius: 20px; padding: 22px; }
.card svg { width: 28px; height: 28px; }
.card h3 { font-size: 18px; margin: 14px 0 6px; }
.card p { font-size: 15px; color: var(--muted); margin: 0; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 600; color: var(--mint); background: rgba(99, 230, 226, 0.1); border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: 2px; }

.pro { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pro ul { list-style: none; margin: 0; padding: 0; }
.pro li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 0.5px solid var(--line); font-size: 15.5px; }
.pro li:last-child { border-bottom: 0; }
.pro li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 0.55em; border-radius: 50%; background: var(--mint); }
.pro .basic li::before { background: var(--dim); }
.pro h3 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }

.band { display: flex; align-items: center; gap: 18px; background: var(--surface); border: 0.5px solid var(--line); border-radius: 20px; padding: 22px 24px; }
.band svg { width: 30px; height: 30px; flex: none; }
.band h3 { font-size: 18px; margin: 0 0 2px; }
.band p { font-size: 15px; color: var(--muted); margin: 0; }

.cta { text-align: center; padding-block: 72px 80px; }
.cta svg { width: 84px; height: 84px; margin: 0 auto 18px; }
.cta h2 { margin-bottom: 8px; }
.cta .get { justify-content: center; }

/* Footer */
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-block: 22px 34px; border-top: 0.5px solid #1c1c1e; font-size: 13px; color: var(--dim); }
.foot nav { display: flex; gap: 20px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }

/* Long-form pages: privacy and support */
.doc { max-width: 720px; padding: 36px 24px 72px; }
.doc h1 { font-family: var(--brand); font-weight: 700; font-size: clamp(36px, 5vw, 48px); line-height: 1.08; margin: 0 0 8px; }
.doc .meta { color: var(--dim); font-size: 14px; margin: 0 0 32px; }
.doc h2 { font-size: 20px; margin: 40px 0 10px; }
.doc p, .doc li { color: #d1d1d6; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc a { color: var(--mint); text-decoration: none; }
.doc a:hover { text-decoration: underline; }
.summary { background: var(--surface); border: 0.5px solid var(--line); border-radius: 18px; padding: 18px 22px; }
.summary p { margin: 0; color: var(--text); }
.faq details { border-bottom: 0.5px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; }
.contact { margin-top: 36px; }

/* Narrow screens */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; padding-top: 24px; }
  .hero > .copy { grid-column: 1 / -1; }
  .links .hide { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .doc { padding: 24px 16px 56px; }
  .links { gap: 16px; }
  .hero { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .lead { margin: 0 auto; }
  .get { justify-content: center; }
  .phone { margin: 0 auto; }
  .rings svg { width: 200px; }
  .cards, .pro { grid-template-columns: 1fr; }
  .band { align-items: flex-start; }
}

/* Josefin Sans has no Hangul: Korean headings use the system font. */
:lang(ko) .hero h1, :lang(ko) .section h2, :lang(ko) .doc h1 { font-family: var(--body); font-weight: 800; letter-spacing: -0.02em; }
