:root {
  color-scheme: light;
  --ink: #112440;
  --muted: #455875;
  --brand: #0b5ab4;
  --brand-dark: #093871;
  --line: #d6e0ed;
  --background: #f5f8fc;
  font-family: "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 280px; }
body { margin: 0; background: var(--background); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #1967d2; outline-offset: 5px; }
[hidden] { display: none !important; }

.wrap { width: min(calc(100% - 3rem), 70rem); margin-inline: auto; }
.skip-link {
  position: absolute;
  inset: 0.8rem auto auto 0.8rem;
  z-index: 2;
  transform: translateY(-200%);
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  background: white;
}
.skip-link:focus { transform: none; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.05rem;
  font-weight: 750;
  text-decoration: none;
}
.brand img { flex: 0 0 auto; border-radius: 0.65rem; }
.header-link { color: var(--brand-dark); font-size: 0.95rem; font-weight: 700; text-underline-offset: 0.25rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  min-height: calc(100svh - 12rem);
  padding-block: clamp(2.5rem, 7vw, 6rem);
}
h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3rem, 6.2vw, 5.4rem);
  letter-spacing: -0.065em;
  line-height: 0.98;
  text-wrap: balance;
}
h1 span { color: var(--brand); }
.intro-copy {
  max-width: 31rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.65;
}
#download { margin-top: 2.2rem; scroll-margin-top: 1.5rem; }
#download h2 { margin: 0 0 0.8rem; font-size: 1.05rem; line-height: 1.4; }
.stores { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.store { flex: 0 1 10rem; }
.store-text, .store-link {
  display: flex;
  min-height: 4.2rem;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: white;
}
.store-name { font-weight: 750; }
.store-status { color: var(--muted); font-size: 0.9rem; }
.store-link {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: white;
  font-weight: 700;
  text-decoration: none;
}
.store-link:hover { background: var(--brand); }

.practice-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(23rem, 40vw, 30rem);
  overflow: hidden;
  isolation: isolate;
  border-radius: clamp(1.4rem, 4vw, 2.4rem);
  background: radial-gradient(circle at 24% 12%, #e9f5ff, transparent 49%),
              linear-gradient(150deg, #d5eaff, #9dccfa);
}
.practice-art::before, .practice-art::after {
  position: absolute;
  z-index: -1;
  width: 86%;
  aspect-ratio: 1;
  border: 1px solid #ffffffbc;
  border-radius: 50%;
  content: "";
}
.practice-art::after { width: 113%; }
.phone {
  width: min(75%, 18.4rem);
  margin: 2rem 0;
  padding: 0.48rem;
  border: 1px solid #283d5e;
  border-radius: 1.9rem;
  background: #152b4d;
  box-shadow: 0 1.5rem 3rem #143b7852;
}
.phone-screen { padding: clamp(1rem, 3vw, 1.45rem); border-radius: 1.4rem; background: #f9fcff; }
.phone-header { display: flex; align-items: center; gap: 0.65rem; }
.phone-header img { flex: 0 0 auto; border-radius: 0.55rem; }
.phone-header p { margin: 0; font-size: 0.95rem; font-weight: 750; }
.practice-title { margin: 1.5rem 0 0.75rem; font-size: 1.35rem; font-weight: 750; letter-spacing: -0.03em; }
.skills { display: grid; gap: 0.52rem; margin: 0; padding: 0; list-style: none; }
.skill {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.48rem;
  border: 1px solid #dee8f3;
  border-radius: 0.65rem;
  background: white;
  font-weight: 650;
}
.skill-icon {
  display: grid;
  place-items: center;
  width: 1.95rem;
  height: 1.95rem;
  flex: none;
  border-radius: 0.4rem;
  background: #e6f0ff;
  color: #134d94;
  font-size: 1.05rem;
  font-weight: 750;
}
.skill-read .skill-icon { background: #e5f5ed; color: #195c39; }
.skill-write .skill-icon { background: #fff1df; color: #854710; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 2rem;
  padding-block: 1.25rem 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.9rem;
}
.footer-brand { color: var(--ink); font-weight: 750; }
.site-footer p { max-width: 36rem; margin: 0; }

@media (max-width: 47rem) {
  .wrap { width: min(calc(100% - 2.5rem), 32rem); }
  .hero { grid-template-columns: 1fr; gap: 2rem; min-height: auto; }
  .practice-art { min-height: 22rem; }
}

@media (max-width: 24rem) {
  .wrap { width: calc(100% - 2rem); }
  .site-header { min-height: 4.4rem; gap: 0.65rem; }
  .brand { gap: 0.5rem; font-size: 0.95rem; }
  .brand img { width: 34px; height: 34px; }
  .header-link { font-size: 0.875rem; }
  .store { flex: 1 1 7rem; }
  h1 { font-size: clamp(2.5rem, 12vw, 3rem); }
  .phone { width: 86%; }
}

.legal { max-width: 48rem; padding-block: 3rem; line-height: 1.65; }
.legal h1 { max-width: none; font-size: clamp(2rem, 5vw, 3.5rem); }
.legal h2 { margin: 2rem 0 0.5rem; font-size: 1.5rem; }
