:root {
  font-family: "Aptos", "Segoe UI Variable", "Segoe UI", sans-serif;
  color: #e4e8e8;
  background: #0c0f10;
}

* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; margin: 0; }
body {
  background: radial-gradient(circle at 74% 44%, rgba(59, 112, 117, 0.16), transparent 40%), #0c0f10;
}

.page {
  display: flex;
  flex-direction: column;
  width: min(1160px, calc(100% - 56px));
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  border-bottom: 1px solid rgba(221, 227, 228, 0.14);
}

.back-link { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-family: Bahnschrift, "Arial Narrow", sans-serif; font-size: 21px; font-weight: 600; }
.back-link svg { width: 17px; height: 17px; fill: none; stroke: #b5d8d8; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow, .features, footer { font-family: Consolas, "Courier New", monospace; letter-spacing: 0.12em; }

.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
  align-items: center;
  gap: clamp(38px, 7vw, 110px);
  flex: 1;
  padding: 48px 0 62px;
}

.intro { max-width: 510px; }
.eyebrow { color: #a9c7c8; font-size: 11px; text-transform: uppercase; }
h1 { margin: 24px 0 25px; font-family: Bahnschrift, "Arial Narrow", sans-serif; font-size: clamp(48px, 5.6vw, 76px); font-weight: 500; letter-spacing: -0.055em; line-height: 0.98; }
h1 em { color: #b4d4d4; font-style: normal; }
.features { display: flex; flex-wrap: wrap; gap: 9px; margin: 32px 0 34px; font-size: 10px; letter-spacing: 0.035em; }
.features span { padding: 9px 11px; border: 1px solid rgba(169, 199, 200, 0.23); color: #c3d5d5; }
.actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.open-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; min-width: 224px; padding: 14px 16px; color: #0c1516; background: #b4d4d4; font-size: 14px; font-weight: 650; text-decoration: none; transition: background 160ms ease, transform 160ms ease; }
.open-link:hover { background: #d3e6e5; transform: translateY(-2px); }
.open-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.guide-link { display: inline-flex; align-items: center; justify-content: center; min-width: 148px; padding: 14px 16px; border: 1px solid rgba(180, 212, 212, 0.46); color: #cbe0e0; font-size: 14px; font-weight: 600; text-decoration: none; transition: background 160ms ease, border-color 160ms ease; }
.guide-link:hover { border-color: #b4d4d4; background: rgba(180, 212, 212, 0.1); }
.access-note, .frame-note { color: #829092; font-size: 12px; line-height: 1.5; }
.access-note { max-width: 340px; margin: 18px 0 0; }

.app-area { width: 100%; }
.phone-shell { position: relative; width: 100%; max-width: 390px; aspect-ratio: 1 / 2; overflow: hidden; border: 1px solid rgba(157, 195, 197, 0.38); border-radius: 29px; background: #050809; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42), 0 0 40px rgba(67, 123, 127, 0.08); }
.phone-top { position: absolute; top: 10px; left: 50%; width: 60px; height: 5px; border-radius: 9px; background: #354548; transform: translateX(-50%); }
iframe { position: absolute; inset: 28px 10px 10px; display: block; width: calc(100% - 20px); height: calc(100% - 38px); border: 0; border-radius: 19px; background: #fff; }
.frame-note { margin: 12px 0 0; text-align: center; }
footer { padding: 22px 0; border-top: 1px solid rgba(221, 227, 228, 0.14); color: #7e898c; font-size: 10px; }

a:focus-visible { outline: 2px solid #b4d4d4; outline-offset: 5px; }

@media (max-width: 800px) {
  .content { grid-template-columns: 1fr; justify-items: center; gap: 44px; padding-top: 54px; }
  .intro { justify-self: start; }
  .app-area { max-width: 390px; }
}

@media (max-width: 500px) {
  .page { width: calc(100% - 30px); }
  .page-header { padding: 20px 0; }
  .content { padding: 42px 0; }
  h1 { font-size: clamp(48px, 12vw, 64px); }
  .phone-shell { width: min(100%, 390px); }
}

@media (prefers-reduced-motion: reduce) {
  .open-link, .guide-link { transition: none; }
}
