/* Class Schedule landing page.
   Idea: the page reads like a day of classes. Each section starts at a time slot, the hero sits on a faint
   week grid with coloured class blocks, and the real app runs in a phone frame beside it.
   Brand: the IUS Engineering Club's light look, seal blue with honey and sage, on warm paper (never pure white).
   System fonts only; nothing is downloaded. */
:root {
  --paper: #F3EFE4;
  --paper-2: #FAF7EF;
  --card: #FFFCF4;
  --ink: #13233B;
  --muted: #4B566A;
  --line: #DAD2BF;
  --seal: #1B4A8A;
  --seal-deep: #0F2F5C;
  --seal-tint: #DFE7F2;
  --honey: #E7A532;
  --honey-soft: #F6DFA3;
  --honey-ink: #7A4E00;
  --sage: #93B08E;
  --sage-soft: #DCE7D6;
  --sage-ink: #3B5A41;
  --grid: rgba(27, 74, 138, .075);
  --radius: 14px;
  --f-display: "Roboto Condensed", "Arial Narrow", "sans-serif-condensed", "Helvetica Neue", system-ui, sans-serif;
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, "Roboto Mono", monospace;
  --s: .82; /* phone scale: the app is laid out at 375 x 812 and shrunk to fit */
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--f-body);
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--seal); text-underline-offset: .18em; }
a:hover { color: var(--seal-deep); }
:focus-visible { outline: 3px solid var(--seal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
code { font: .92em var(--f-mono); background: var(--seal-tint); padding: .1em .35em; border-radius: 5px; overflow-wrap: anywhere; }
.no-js .js-only { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 20;
  background: var(--seal); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; color: #fff; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(243, 239, 228, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.mark { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.1rem/1 var(--f-display); font-stretch: condensed; letter-spacing: .01em; }
.mark img { border-radius: 8px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: .94rem; padding: 6px 10px; border-radius: 8px; }
.nav a:hover { background: var(--seal-tint); color: var(--seal-deep); }
.lang { display: flex; padding: 3px; gap: 2px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; margin-left: 8px; }
.lang button {
  font: 600 .8rem/1 var(--f-mono); letter-spacing: .04em; color: var(--muted);
  border: 0; background: none; padding: 7px 10px; border-radius: 999px; cursor: pointer; min-width: 40px; min-height: 32px;
}
.lang button[aria-pressed="true"] { background: var(--seal); color: #fff; }
.lang button:hover:not([aria-pressed="true"]) { color: var(--seal-deep); background: var(--seal-tint); }
@media (max-width: 820px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; border-bottom: 1px solid var(--line); }
.week-grid {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(12, 1fr);
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 100% calc(100% / 12),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 20% 100%;
  pointer-events: none;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.35), #000 55%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.35), #000 55%);
}
.blk { margin: 4px; border-radius: 10px; border-left: 5px solid; opacity: .55; }
.b1 { grid-area: 2 / 3 / 4 / 4; background: var(--seal-tint); border-color: var(--seal); }
.b2 { grid-area: 3 / 5 / 6 / 6; background: var(--honey-soft); border-color: var(--honey); }
.b3 { grid-area: 6 / 4 / 8 / 5; background: var(--sage-soft); border-color: var(--sage); }
.b4 { grid-area: 8 / 2 / 10 / 3; background: var(--honey-soft); border-color: var(--honey); }
.b5 { grid-area: 9 / 5 / 11 / 6; background: var(--seal-tint); border-color: var(--seal); }
.b6 { grid-area: 4 / 1 / 6 / 2; background: var(--sage-soft); border-color: var(--sage); }
.b7 { grid-area: 10 / 3 / 12 / 4; background: var(--sage-soft); border-color: var(--sage); }
.now { grid-area: 7 / 1 / 8 / 6; align-self: start; height: 2px; background: var(--honey); position: relative; opacity: .8; }
.now::before { content: ""; position: absolute; left: -1px; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--honey); }

.hero-in {
  position: relative;
  display: grid; gap: 28px 56px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "copy phone" "demo phone";
  align-items: start;
}
.hero-copy { grid-area: copy; padding-top: 24px; }
.phone { grid-area: phone; margin: 0; }
.demo { grid-area: demo; }

.kicker {
  display: inline-block; font: 600 .78rem/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--sage-ink); background: var(--sage-soft); padding: 6px 10px; border-radius: 6px;
}
.hero h1 {
  font: 800 clamp(2.9rem, 1.6rem + 6.4vw, 6.2rem)/.92 var(--f-display); font-stretch: condensed;
  letter-spacing: -.02em; color: var(--seal-deep); margin: 18px 0 18px;
}
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem); color: var(--ink); max-width: 34em; }

.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  padding: 12px 20px 12px 16px; border-radius: 12px; border: 2px solid var(--seal);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn svg { width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn b { display: block; font-weight: 700; font-size: 1.02rem; line-height: 1.25; }
.btn small { display: block; font-size: .8rem; line-height: 1.3; opacity: .92; }
.btn.primary { background: var(--seal); color: #fff; box-shadow: 0 6px 0 var(--seal-deep); }
.btn.primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 0 var(--seal-deep); }
.btn.primary:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--seal-deep); }
.btn.ghost { color: var(--seal-deep); background: var(--paper-2); }
.btn.ghost:hover { background: var(--seal-tint); }

/* Phone frame. The iframe keeps the app's real 375 x 812 layout and is scaled down as a whole. */
.bezel {
  padding: 12px; border-radius: calc(54px * var(--s) + 12px);
  background: linear-gradient(150deg, #22344F, var(--ink) 60%);
  box-shadow: 0 1px 0 2px rgba(255,255,255,.35) inset, 0 30px 60px -20px rgba(15, 47, 92, .45), 0 10px 0 -4px var(--honey);
}
.screen {
  position: relative; overflow: hidden; background: var(--paper-2);
  width: calc(375px * var(--s)); height: calc(812px * var(--s));
  border-radius: calc(44px * var(--s));
}
.screen iframe {
  display: block; border: 0; width: 375px; height: 812px; background: var(--paper-2);
  transform: scale(var(--s)); transform-origin: 0 0;
}
.shot-fallback { width: 100%; height: 100%; object-fit: cover; }

/* Demo controls */
.demo { max-width: 600px; }
.demo-title { font: 700 1.5rem/1.2 var(--f-display); font-stretch: condensed; color: var(--seal-deep); }
.demo-lead { color: var(--muted); margin-top: 4px; }
.demo-note { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--honey-soft); color: var(--ink); font-size: .94rem; }
.ctl { margin-top: 16px; display: grid; gap: 14px; }
.ctl-label { font: 600 .74rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button, .chips button {
  font: 600 .92rem/1.2 var(--f-body); color: var(--ink); cursor: pointer;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; min-height: 40px;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.seg button:hover, .chips button:hover { border-color: var(--seal); }
.seg button[aria-pressed="true"] { background: var(--seal); border-color: var(--seal); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; }
.chips.small button { font-size: .84rem; min-height: 36px; padding: 4px 10px 4px 5px; }
.chips button[aria-pressed="true"] { border-color: var(--seal); background: var(--seal-tint); color: var(--seal-deep); box-shadow: 0 0 0 1.5px var(--seal) inset; }
.sw { width: 26px; height: 26px; border-radius: 50%; flex: none; border: 1px solid rgba(19, 35, 59, .25); background: linear-gradient(135deg, var(--a) 0 50%, var(--b) 50% 100%); }
.chips.small .sw { width: 22px; height: 22px; }
.demo-status { margin-top: 12px; min-height: 1.6em; font: .86rem/1.6 var(--f-mono); color: var(--muted); }

@media (max-width: 920px) {
  .hero { padding-top: 32px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "phone" "demo"; }
  .hero-copy { padding-top: 0; }
  .phone { justify-self: center; }
  .demo { max-width: none; }
  .week-grid { mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); }
}
@media (max-width: 420px) { :root { --s: .7; } }
@media (max-width: 340px) { :root { --s: .64; } .bezel { padding: 9px; } }

/* Sections */
.sec { padding: 88px 0; }
.sec.tint { background: var(--paper-2); border-block: 1px solid var(--line); }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 600 .8rem/1.2 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.slot { background: var(--honey-soft); color: var(--honey-ink); padding: 4px 8px; border-radius: 6px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.sec h2 { font: 800 clamp(2rem, 1.3rem + 3vw, 3.4rem)/1.02 var(--f-display); font-stretch: condensed; letter-spacing: -.015em; color: var(--seal-deep); margin: 14px 0 0; max-width: 18em; }
.sec-lead { font-size: 1.12rem; color: var(--muted); max-width: 38em; margin-top: 14px; }

/* Feature cards: like course cards in the app, with a coloured edge. */
.cards { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.card {
  --c: var(--seal); --t: var(--seal-tint);
  background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--c);
  border-radius: var(--radius); padding: 22px 20px 22px 18px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(15, 47, 92, .45); }
.c-honey { --c: var(--honey); --t: var(--honey-soft); }
.c-sage { --c: var(--sage); --t: var(--sage-soft); }
.card svg { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: var(--t); fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.card h3 { font: 700 1.2rem/1.2 var(--f-display); font-stretch: condensed; color: var(--ink); }
.card p { margin-top: 8px; color: var(--muted); font-size: .97rem; }

/* The data route, drawn like a transit line: four stops, the last one is your phone. */
.route { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.route::before {
  content: ""; position: absolute; left: 22px; right: 12%; top: 21px; height: 4px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--seal) 0 14px, transparent 14px 22px);
}
.stop { position: relative; }
.stop-n {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--paper-2); border: 4px solid var(--seal); color: var(--seal-deep); font: 700 1.05rem/1 var(--f-mono);
}
.stop.end .stop-n { background: var(--honey); border-color: var(--honey-ink); color: var(--ink); }
.stop h3 { font: 700 1.22rem/1.2 var(--f-display); font-stretch: condensed; margin-top: 18px; }
.stop p { margin-top: 8px; color: var(--muted); font-size: .97rem; }
@media (max-width: 860px) {
  .route { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .route::before { left: 21px; right: auto; top: 22px; bottom: 40px; width: 4px; height: auto; background: repeating-linear-gradient(180deg, var(--seal) 0 14px, transparent 14px 22px); }
  .stop { padding-left: 66px; }
  .stop-n { position: absolute; left: 0; top: 0; }
  .stop h3 { margin-top: 10px; }
}

.sub { font: 700 1.6rem/1.2 var(--f-display); font-stretch: condensed; color: var(--seal-deep); margin-top: 72px; }
.why { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0 32px; counter-reset: why; }
.why li { counter-increment: why; padding: 20px 0 20px 44px; border-top: 1px solid var(--line); position: relative; }
.why li::before { content: counter(why, decimal-leading-zero); position: absolute; left: 0; top: 22px; font: 700 .85rem/1 var(--f-mono); color: var(--sage-ink); background: var(--sage-soft); padding: 5px 6px; border-radius: 5px; }
.why h4 { font-size: 1.05rem; font-weight: 700; }
.why p { margin-top: 6px; color: var(--muted); font-size: .97rem; }

/* Screenshots: a strip that scrolls sideways inside itself, never the page. */
.shots {
  display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: max(16px, (100% - 1160px) / 2);
  padding: 36px max(16px, (100% - 1160px) / 2) 20px;
  scrollbar-color: var(--sage) transparent;
}
.shots:focus-visible { outline-offset: -3px; border-radius: 0; }
.shots figure { margin: 0; flex: 0 0 clamp(170px, 44vw, 230px); scroll-snap-align: start; }
.shots img {
  width: 100%; height: auto; aspect-ratio: 750 / 1624; object-fit: cover;
  border-radius: 22px; border: 6px solid var(--ink);
  background: repeating-linear-gradient(180deg, var(--paper-2) 0 46px, var(--seal-tint) 46px 48px);
  color: var(--muted); font-size: .85rem; /* alt text, while an image is missing */
  box-shadow: 0 18px 36px -22px rgba(15, 47, 92, .5);
}
.shots figcaption { margin-top: 12px; font: 600 .92rem/1.3 var(--f-body); color: var(--ink); text-align: center; }

/* Install */
.install { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; counter-reset: st; display: grid; gap: 14px; }
.steps li { counter-increment: st; position: relative; padding: 16px 18px 16px 70px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); font-size: 1.04rem; min-height: 64px; display: flex; align-items: center; }
.steps li::before {
  content: counter(st); position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--honey); color: var(--ink); font: 800 1.3rem/1 var(--f-display);
}
.note { margin-top: 18px; color: var(--muted); }
.install-side { display: grid; gap: 16px; justify-items: start; padding: 28px; border-radius: 20px; background: var(--seal-tint); border: 1px solid #C5D3E8; }
.install-side p { color: var(--ink); }
@media (max-width: 820px) { .install { grid-template-columns: minmax(0, 1fr); gap: 28px; } .install-side { padding: 22px; } }

/* iPhone guide. Each picture is a simplified drawing of iOS in HTML and CSS (labels follow the page language);
   the step text below it says the same thing on its own. */
#iphone { border-bottom: 1px solid var(--line); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ios-steps { list-style: none; padding: 0; margin: 40px 0 0; counter-reset: ios; display: grid; gap: 28px 18px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ios-steps > li { counter-increment: ios; position: relative; }
.ios-steps > li::before {
  content: counter(ios); position: absolute; left: -6px; top: -12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--honey); color: var(--ink); font: 800 1.2rem/1 var(--f-display); box-shadow: 0 3px 0 var(--honey-ink);
}
.ios-steps h3 { font: 700 1.16rem/1.2 var(--f-display); font-stretch: condensed; margin-top: 18px; }
.ios-steps p { margin-top: 6px; color: var(--muted); font-size: .95rem; }
.ios-steps b { color: var(--ink); }
.ios-chrome { margin-top: 32px; padding: 14px 16px; border-radius: 12px; background: var(--seal-tint); color: var(--ink); max-width: 46em; }
@media (max-width: 1100px) { .ios-steps { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); } }
@media (max-width: 560px) {
  .ios-steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ios-steps > li { display: grid; justify-items: center; text-align: center; }
  .ios-steps > li::before { left: calc(50% - 128px); }
  .ios-steps p { max-width: 30em; }
}

.ios {
  --blue: #0A66E0; --bg: #F2F2F7; --row: #FFFFFF; --sep: #D8D8DE; --grey: #8A8A90;
  position: relative; overflow: hidden; width: 100%; max-width: 220px; height: 300px;
  border: 7px solid var(--ink); border-radius: 30px; background: #FFFFFF; text-align: left;
  font: 11px/1.25 -apple-system, "SF Pro Text", system-ui, sans-serif; color: #111;
  box-shadow: 0 16px 30px -20px rgba(15, 47, 92, .6);
}
.ios svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ios .hl { box-shadow: 0 0 0 2.5px var(--honey), 0 0 0 6px rgba(231, 165, 50, .35); border-radius: 8px; }
.ios-st { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px 4px 32px; /* clear of the step number */font-weight: 600; font-size: 10px; }
.ios-st i { width: 30px; height: 8px; border-radius: 3px; background: linear-gradient(90deg, currentColor 0 70%, transparent 70% 76%, currentColor 76%); opacity: .8; }
.ios-st.light { color: #fff; }
.ios-page { padding: 10px 14px; display: grid; gap: 8px; }
.ios-page b { height: 54px; border-radius: 10px; background: var(--seal-tint); }
.ios-page i { height: 8px; border-radius: 4px; background: #E6E6EB; }
.ios-page i:nth-child(odd) { width: 70%; }
.ios-page.dim { filter: brightness(.7); }

.sf-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px 14px; background: rgba(246, 246, 248, .96); border-top: 1px solid var(--sep); }
.sf-url { background: #E4E4EA; border-radius: 10px; padding: 7px 8px; text-align: center; font-size: 10.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-tools { display: flex; justify-content: space-between; align-items: center; padding: 10px 6px 0; color: var(--blue); }
.sf-tools .hl { display: grid; place-items: center; padding: 3px; }

.sheet { position: absolute; left: 0; right: 0; bottom: 0; top: 70px; background: var(--bg); border-radius: 14px 14px 0 0; padding: 10px 9px; display: grid; align-content: start; gap: 8px; }
.sheet-head { display: flex; align-items: center; gap: 7px; padding: 0 2px 4px; border-bottom: 1px solid var(--sep); }
.sheet-head img { border-radius: 6px; }
.sheet-head span { flex: 1; min-width: 0; }
.sheet-head b, .addsheet .app b { display: block; font-size: 11px; }
.sheet-head small, .addsheet .app small { display: block; font-size: 9px; color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-head .x { width: 16px; height: 16px; border-radius: 50%; background: #E1E1E6; flex: none; }
.group { background: var(--row); border-radius: 10px; overflow: hidden; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 8px 9px; font-size: 10.5px; }
.row + .row { border-top: 1px solid var(--sep); }
.row svg { width: 15px; height: 15px; flex: none; }
.group .row.hl { position: relative; background: #FFF7E3; border-radius: 0; box-shadow: inset 0 0 0 2.5px var(--honey); font-weight: 600; }
.edit { color: var(--blue); font-size: 10.5px; padding: 2px 4px; }

.addsheet { position: absolute; inset: 26px 0 0; background: var(--bg); border-radius: 14px 14px 0 0; }
.addsheet .nav { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px; padding: 10px 8px; font-size: 10.5px; }
.addsheet .nav span { color: var(--blue); }
.addsheet .nav b { text-align: center; font-size: 10px; }
.addsheet .add { font-weight: 700; padding: 2px 5px; }
.addsheet .app { margin: 4px 9px; display: flex; align-items: center; gap: 9px; padding: 9px; }
.addsheet .app img { border-radius: 10px; flex: none; }
.addsheet .app span { flex: 1; min-width: 0; }
.addsheet .app b { border-bottom: 1px solid var(--sep); padding-bottom: 4px; margin-bottom: 4px; }
.keys { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: #D3D5DB; padding: 10px 5px; display: grid; gap: 7px; }
.keys i { border-radius: 4px; background: repeating-linear-gradient(90deg, #fff 0 calc(10% - 4px), transparent calc(10% - 4px) 10%); }
.keys i:nth-child(2) { margin: 0 5%; }
.keys i:nth-child(3) { margin: 0 14%; }
.keys i:nth-child(4) { margin: 0 25%; background: #fff; }

.ios.home { background: linear-gradient(160deg, #2F5F9E, #5C8F86 60%, #93B08E); }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 10px; padding: 18px 14px; justify-items: center; }
.apps i { width: 36px; height: 36px; border-radius: 9px; background: rgba(255, 255, 255, .28); }
.apps .mine { display: grid; justify-items: center; gap: 3px; padding: 3px 2px; border-radius: 10px; width: 100%; }
.apps .mine img { width: 36px; height: 36px; border-radius: 9px; }
.apps .mine small { color: #fff; font-size: 8px; line-height: 1.1; text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.ios.home .hl { box-shadow: 0 0 0 2.5px var(--honey); }
.dock { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; justify-content: space-around; padding: 9px; border-radius: 20px; background: rgba(255, 255, 255, .3); }
.dock i { width: 34px; height: 34px; border-radius: 9px; background: rgba(255, 255, 255, .5); }

@media (prefers-reduced-motion: no-preference) {
  .ios .tap { animation: tap 2.2s ease-in-out 1s 3; }
}
@keyframes tap { 50% { box-shadow: 0 0 0 2.5px var(--honey), 0 0 0 11px rgba(231, 165, 50, 0); } }

/* FAQ */
.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 48px 20px 0; position: relative;
  font-weight: 700; font-size: 1.1rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background:
    linear-gradient(var(--seal-deep), var(--seal-deep)) center / 12px 2px no-repeat,
    linear-gradient(var(--seal-deep), var(--seal-deep)) center / 2px 12px no-repeat,
    var(--honey-soft);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--seal-deep); }
.faq details p { padding: 0 8px 22px 0; color: var(--muted); max-width: 44em; }

/* Developer and club */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.person, .club { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.person { border-top: 6px solid var(--seal); }
.club { border-top: 6px solid var(--honey); }
.role { display: block; font: 600 .78rem/1.3 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.name { font: 800 clamp(1.8rem, 1.3rem + 2vw, 2.6rem)/1.05 var(--f-display); font-stretch: condensed; color: var(--seal-deep); margin-top: 8px; }
.links { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; background: var(--paper-2); }
.links a:hover { border-color: var(--seal); color: var(--seal-deep); }
.links svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.club-link { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); }
.club-link img { width: 72px; height: 72px; border-radius: 50%; background: #fff; flex: none; }
.club-link b { display: block; font: 700 1.4rem/1.2 var(--f-display); font-stretch: condensed; color: var(--seal); margin-top: 4px; }
.club-link:hover b { text-decoration: underline; }
.club > p { margin-top: 20px; color: var(--muted); }
.mail { display: inline-block; margin-top: 6px; font-weight: 700; font-size: 1.1rem; overflow-wrap: anywhere; }
@media (max-width: 760px) { .team { grid-template-columns: minmax(0, 1fr); } .person, .club { padding: 22px; } }

/* Footer */
.foot { padding: 32px 0 40px; background: var(--seal-tint); border-top: 1px solid #C5D3E8; font-size: .94rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; }
.foot p { color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* One entrance for the hero, nothing that loops. */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .phone { animation: rise .8s .1s cubic-bezier(.2, .7, .2, 1) both; }
  .blk { animation: fade 1.2s .3s ease both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
