/* Gaskeun website: the app's iOS 27 design. SF system type, Semibold at most,
   iOS grouped grounds, Liquid Glass bars, Gaskeun mint. */
:root {
  --bg: #000000;
  --surface: #1c1c1e;
  --fill: rgba(118,118,128,0.24);
  --hairline: rgba(84,84,88,0.6);
  --glass: rgba(28,28,30,0.72);
  --text: #ffffff;
  --text-2: rgba(235,235,245,0.6);
  --text-3: rgba(235,235,245,0.3);
  --mint: #5ad6a5;
  --on-mint: #04261b;
  --orange: #ffa63d;
  --red: #ff5a63;
  --blue: #0a84ff;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --max: 1060px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; }
b, strong { font-weight: 600; }

html[data-lang="id"] .lang-en { display: none; }
html[data-lang="en"] .lang-id { display: none; }

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

/* nav: glass bar */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--hairline);
}
.nav-in { display: flex; align-items: center; gap: 12px; height: 56px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; color: var(--text); }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand:hover { text-decoration: none; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text-2); font-size: 14px; font-weight: 400; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* language: iOS segmented control in mint */
.langtoggle {
  position: relative; display: inline-flex; align-items: stretch;
  border: 0; background: var(--fill);
  border-radius: 999px; padding: 2px; cursor: pointer; font-family: var(--font);
  width: 84px; height: 30px; user-select: none; -webkit-tap-highlight-color: transparent;
}
.langtoggle .seg {
  position: relative; z-index: 1; flex: 1; display: grid; place-items: center;
  font-size: 12px; font-weight: 500; color: var(--text-2); transition: color .2s ease;
}
.langtoggle .knob {
  position: absolute; z-index: 0; top: 2px; left: 2px;
  width: calc(50% - 2px); height: calc(100% - 4px);
  background: var(--mint); border-radius: 999px;
  transition: transform .22s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
html[data-lang="en"] .langtoggle .knob { transform: translateX(100%); }
html[data-lang="id"] .langtoggle .seg-id,
html[data-lang="en"] .langtoggle .seg-en { color: var(--on-mint); }
.langtoggle:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }

/* hero */
.hero { padding: 80px 0 32px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -10% 0 auto 0; height: 520px;
  background: radial-gradient(55% 60% at 50% 0%, rgba(90,214,165,0.14), rgba(90,214,165,0) 70%);
  pointer-events: none;
}
.hero .logo-lg { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 19px; box-shadow: 0 12px 40px rgba(0,0,0,0.6); }
.hero h1 { font-size: clamp(32px, 5.4vw, 52px); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 14px; text-wrap: balance; }
.hero .tag { color: var(--text-2); font-size: clamp(16px, 2.2vw, 19px); max-width: 620px; margin: 0 auto 28px; text-wrap: pretty; }
.cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px;
  height: 46px; padding: 0 24px; font-weight: 600; font-size: 16px; cursor: pointer; border: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--mint); color: var(--on-mint); }
.btn-ghost { background: var(--fill); color: var(--text); }

/* phone showcase */
.showcase { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin: 44px 0 8px; }
.showcase img { width: 220px; height: auto; aspect-ratio: 620 / 1344; border-radius: 30px; box-shadow: 0 0 0 0.5px var(--hairline), 0 30px 70px rgba(0,0,0,0.6); }

/* sections */
section { padding: 52px 0; }
.eyebrow { color: var(--text-2); font-size: 13px; font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; }
h2.sec-title { font-size: clamp(26px, 3.6vw, 34px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; margin: 6px 0 8px; text-wrap: balance; }
.sec-lead { color: var(--text-2); max-width: 620px; font-size: 17px; margin: 0; text-wrap: pretty; }

/* feature grid: grouped cells with iOS settings-style icons */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.card { background: var(--surface); border-radius: 22px; padding: 20px; }
.card .ic {
  width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center;
  margin-bottom: 12px; color: #fff;
}
.card .ic svg { width: 19px; height: 19px; }
.card h3 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.4; }
.c-mint { background: #34c759; } .c-blue { background: #007aff; } .c-orange { background: #ff9500; }
.c-red { background: #ff3b30; } .c-indigo { background: #5856d6; } .c-teal { background: #30b0c7; }
.c-pink { background: #ff2d55; } .c-gray { background: #8e8e93; } .c-dark { background: #3a3a3c; }

/* personas: one grouped list */
.persona-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.persona { background: var(--surface); border-radius: 18px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.persona .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--fill); display: grid; place-items: center; color: var(--text); flex: none; }
.persona .ic svg { width: 19px; height: 19px; }
.persona b { display: block; font-weight: 500; font-size: 16px; }
.persona span { color: var(--text-2); font-size: 13px; }

/* sources: capsules */
.sources { display: flex; gap: 8px; flex-wrap: wrap; }
.sources span { background: var(--fill); color: var(--text); font-size: 14px; padding: 6px 14px; border-radius: 999px; }

.mt-lg { margin-top: 24px; }
.note-small { margin-top: 20px; font-size: 13px; color: var(--text-3); }

/* legal pages */
.legal { max-width: 740px; padding-top: 36px; }
.legal h1 { font-size: 32px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.legal .updated { color: var(--text-2); font-size: 13px; margin-bottom: 24px; }
.legal h2 { font-size: 20px; font-weight: 600; margin-top: 30px; color: var(--text); }
.legal p, .legal li { color: var(--text-2); }
.legal strong { color: var(--text); }
.legal code { background: var(--fill); padding: 1px 6px; border-radius: 6px; font-size: 14px; }
.legal .card { margin-top: 16px; }

/* footer */
footer { border-top: 0.5px solid var(--hairline); padding: 30px 0 44px; margin-top: 24px; }
.foot-in { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; color: var(--text-3); font-size: 13px; }
.foot-links { margin-left: auto; display: flex; gap: 18px; }
.foot-links a { color: var(--text-2); font-size: 13px; }

@media (max-width: 820px) {
  .grid, .persona-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid, .persona-row { grid-template-columns: 1fr; }
  .nav-links a.hide-sm { display: none; }
  .foot-links { margin-left: 0; width: 100%; }
}
