:root {
  color-scheme: light;
  --orange: #ff7417;
  --orange-deep: #ed5f00;
  --orange-soft: #fff1e7;
  --navy: #07143d;
  --ink: #252b3a;
  --line: #e5e7eb;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #fff8f3; }
body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 6%, transparent 0 95px, rgba(255,116,23,.10) 96px 97px, transparent 98px 145px, rgba(255,116,23,.07) 146px 147px, transparent 148px),
    linear-gradient(145deg, #fffaf6 0%, #fff 50%, #fff7f1 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page-shell {
  width: min(100%, 880px);
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) 22px max(28px, env(safe-area-inset-bottom));
}

.brand {
  display: flex;
  align-items: center;
  margin: 0 6px 26px;
}
.brand img { display: block; width: 190px; height: auto; }

.notice-card {
  padding: 42px;
  background: rgba(255,255,255,.95);
  border: 1px solid #e2e2e2;
  border-radius: 30px;
  box-shadow: 0 18px 55px rgba(20,25,45,.08);
}
.eyebrow {
  width: max-content;
  margin: 0 auto 23px;
  padding: 9px 17px;
  color: var(--orange-deep);
  background: #fffaf6;
  border: 1px solid #ffbd8f;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 7vw, 68px);
  line-height: .98;
  letter-spacing: -2.8px;
  text-align: center;
}
.lead { max-width: 600px; margin: 24px auto 0; color: #394052; font-size: 20px; line-height: 1.5; text-align: center; }
.divider { height: 1px; margin: 34px 0; background: var(--line); }

.version-section { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: center; }
.section-icon { display: grid; width: 72px; height: 72px; place-items: center; color: var(--orange-deep); background: var(--orange-soft); border-radius: 20px; font-size: 48px; line-height: 1; }
h2 { margin: 0 0 7px; color: var(--navy); font-size: 25px; }
.version-section p { margin: 0; color: #42495a; font-size: 17px; line-height: 1.48; }

.app-shot {
  position: relative;
  height: min(460px, 67vw);
  min-height: 330px;
  margin: 28px 0 24px;
  overflow: hidden;
  background: var(--orange);
  border: 1px solid #ffd6bb;
  border-radius: 22px;
}
.app-shot-content { position: relative; width: 100%; transform: translateY(-55%); }
.app-shot img { display: block; width: 100%; height: auto; }
.version-ring {
  position: absolute;
  left: 66.5%;
  top: 76.5%;
  width: 24%;
  height: 7%;
  border: 5px solid var(--orange-deep);
  border-radius: 50%;
  transform: rotate(-5deg);
  box-shadow: 0 0 0 2px rgba(255,255,255,.75);
}
.version-ring::after { content: ""; position: absolute; inset: -10px 4px 2px -7px; border: 2px solid rgba(237,95,0,.72); border-radius: 50%; transform: rotate(8deg); }

.choices { display: grid; gap: 14px; }
.choice {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 92px;
  padding: 14px 20px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid #dedfe3;
  border-radius: 18px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.choice:hover, .choice:focus-visible { transform: translateY(-2px); border-color: #ff9e5c; box-shadow: 0 12px 30px rgba(237,95,0,.10); outline: none; }
.choice.recommended { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,116,23,.10); }
.platform-icon { display: grid; width: 58px; height: 58px; place-items: center; background: var(--orange-soft); border-radius: 17px; }
.platform-icon img { display: block; width: 31px; height: 31px; object-fit: contain; }
.platform-icon img.apple-mark { width: 28px; height: 34px; }
.choice strong { display: block; color: var(--navy); font-size: 21px; }
.choice small { display: block; margin-top: 5px; color: #343a49; font-size: 16px; }
.choice b { color: var(--orange-deep); font-size: 44px; font-weight: 300; }

.security-note { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 26px 10px 0; color: var(--navy); text-align: center; }
.security-note svg { width: 30px; height: 30px; flex: 0 0 auto; fill: none; stroke: var(--orange-deep); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.security-note strong { font-size: 16px; }

@media (max-width: 600px) {
  .page-shell { padding-left: 14px; padding-right: 14px; }
  .brand { margin-bottom: 18px; }
  .brand img { width: 145px; }
  .notice-card { padding: 28px 18px; border-radius: 24px; }
  .eyebrow { margin-bottom: 20px; font-size: 11px; }
  h1 { font-size: 44px; letter-spacing: -2px; }
  .lead { font-size: 17px; }
  .divider { margin: 27px 0; }
  .version-section { grid-template-columns: 54px 1fr; gap: 14px; }
  .section-icon { width: 54px; height: 54px; border-radius: 16px; font-size: 37px; }
  h2 { font-size: 21px; }
  .version-section p { font-size: 15px; }
  .app-shot { min-height: 265px; margin-top: 22px; border-radius: 17px; }
  .version-ring { border-width: 4px; }
  .choice { grid-template-columns: 50px 1fr auto; gap: 13px; min-height: 78px; padding: 12px 14px; }
  .platform-icon { width: 48px; height: 48px; border-radius: 14px; }
  .choice strong { font-size: 18px; }
  .choice small { font-size: 14px; }
  .choice b { font-size: 37px; }
  .security-note { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) { .choice { transition: none; } }
