/* Safari for Windows — safari-windows.com
   Converted from the Claude Design canvas to plain, class-based CSS. */

:root {
  --ink:        #1d1d1f;
  --ink-soft:   #494950;
  --gray:       #86868b;
  --gray-2:     #6e6e73;
  --gray-3:     #a1a1a7;
  --gray-4:     #c7c7cc;
  --gray-5:     #aeaeb2;
  --gray-6:     #d2d2d7;
  --blue:       #0071e3;
  --blue-hover: #0077ed;
  --blue-link:  #2997ff;
  --dark:       #0b0b0f;
  --light:      #f5f5f7;
  --green:      #30d158;
  --line:       rgba(0, 0, 0, 0.06);
  --line-2:     rgba(0, 0, 0, 0.08);
  --maxw:       1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

::selection { background: rgba(0, 113, 227, 0.18); }

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ============================ HEADER ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: block;
}
.brand__name { font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.brand__name span { color: var(--gray); font-weight: 500; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__link {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.site-nav__link:hover { color: var(--blue); }

/* language switcher */
.lang {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.lang__current { display: flex; align-items: center; gap: 5px; }
.lang__menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  min-width: 120px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 6px 0;
  list-style: none;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.2);
  z-index: 60;
}
/* transparent bridge across the gap so the cursor can travel
   from the trigger to the menu without losing :hover */
.lang__menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.lang:hover .lang__menu,
.lang:focus-within .lang__menu { display: block; }
.lang__menu a {
  display: block;
  padding: 7px 16px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
}
.lang__menu a:hover { background: var(--light); color: var(--blue); }

.btn-pill {
  text-decoration: none;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 980px;
  transition: background .2s;
  white-space: nowrap;
}
.btn-pill:hover { background: var(--blue-hover); }

/* ============================ HERO ============================ */
.hero {
  background: var(--dark);
  color: #f5f5f7;
  overflow: hidden;
  position: relative;
}
.hero__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 96px 24px 0;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero__glow {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  max-width: 100%;
  background: radial-gradient(ellipse at center, rgba(0, 113, 227, 0.22), transparent 65%);
  pointer-events: none;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 13px;
  border-radius: 980px;
  font-size: 13px;
  color: var(--gray-3);
  margin-bottom: 28px;
}
.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(48, 209, 88, 0.2);
}
.hero h1 {
  font-size: 76px;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
}
.hero__sub {
  font-size: 23px;
  line-height: 1.4;
  color: var(--gray-3);
  max-width: 620px;
  margin: 0 auto 14px;
  font-weight: 400;
}
.hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin: 34px 0 18px;
  flex-wrap: wrap;
}
.btn-lg {
  text-decoration: none;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 980px;
  transition: transform .15s, background .2s;
}
.btn-lg:hover { background: var(--blue-hover); transform: translateY(-1px); }
.link-arrow {
  text-decoration: none;
  color: var(--blue-link);
  font-size: 17px;
  font-weight: 500;
  padding: 14px 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-2);
  font-size: 13px;
  margin-bottom: 56px;
}
.hero__trust a { color: var(--gray); text-decoration: underline; text-underline-offset: 2px; }

.mockup {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08), 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  max-width: 900px;
  margin: 0 auto;
}
.mockup img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ============================ DOWNLOAD ============================ */
.download {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 110px 24px 100px;
}
.download__grid {
  max-width: 680px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--blue-link); }
.download h2 {
  font-size: 46px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}
.download p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.download p.tight { margin-bottom: 34px; }
.download strong { color: var(--ink); font-weight: 600; }
.download a.inline-link { color: var(--blue); text-decoration: none; }
.download a.inline-link:hover { text-decoration: underline; }

.dl-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
}
.dl {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 22px;
  border-radius: 14px;
  transition: background .2s;
}
.dl__left { display: flex; align-items: center; gap: 13px; }
.dl__text { display: flex; flex-direction: column; line-height: 1.25; }
.dl__title { font-size: 16px; font-weight: 600; }
.dl__file { font-size: 12px; font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
.dl__size { font-size: 12px; padding: 4px 9px; border-radius: 980px; white-space: nowrap; }

.dl--primary { background: var(--blue); color: #fff; }
.dl--primary:hover { background: var(--blue-hover); }
.dl--primary .dl__file { opacity: .7; }
.dl--primary .dl__size { background: rgba(255, 255, 255, 0.18); }

.dl--secondary { background: var(--light); color: var(--ink); border: 1px solid var(--line); }
.dl--secondary:hover { background: #ececef; }
.dl--secondary .dl__file { color: var(--gray); }
.dl--secondary .dl__size { color: var(--gray); background: #fff; border: 1px solid rgba(0, 0, 0, 0.07); }

.mirrors {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--gray-5);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}
.mirrors__label { color: var(--gray-4); }
.mirrors a {
  color: var(--gray-5);
  text-decoration: none;
  border-bottom: 1px dotted var(--gray-6);
}
.mirrors a:hover { color: var(--blue); }

/* ==================== REQUIREMENTS + INSTALL ==================== */
.reqs {
  background: var(--light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.reqs__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 100px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
.reqs h2 {
  font-size: 36px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 26px;
}
.reqs p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 26px;
}
.reqs p.muted { font-size: 15px; color: var(--gray); margin: 0; }
.reqs strong { color: var(--ink); font-weight: 600; }

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 26px;
}
.spec {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}
.spec__label { font-size: 12px; color: var(--gray); margin-bottom: 4px; }
.spec__value { font-size: 17px; font-weight: 600; }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.steps li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 16px;
  color: var(--ink-soft);
}
.steps strong { color: var(--ink); font-weight: 600; }
.steps__num {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================ BROWSERS ============================ */
.browsers {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 100px 24px;
}
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 {
  font-size: 36px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.section-head p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}
.browsers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.b-card {
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 24px;
  transition: transform .15s, box-shadow .2s;
}
.b-card:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.25); }
.b-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.b-card__head strong { font-size: 18px; font-weight: 600; }
.b-card__head span { color: var(--blue); }
.b-card p { font-size: 15px; line-height: 1.5; color: var(--gray); margin: 0; }

/* ============================ HISTORY ============================ */
.history {
  background: var(--dark);
  color: #f5f5f7;
}
.history__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 100px 24px;
}
.history__head { max-width: 680px; margin-bottom: 48px; }
.history__head h2 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.history__head p { font-size: 18px; line-height: 1.5; color: var(--gray-3); margin: 0; }
.history__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.history__cols p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-4);
  margin: 0 0 18px;
}
.history__cols p:last-child { margin-bottom: 0; }
.history__cols strong { color: #f5f5f7; font-weight: 600; }

/* ============================ FOOTER ============================ */
.site-footer {
  background: var(--light);
  border-top: 1px solid var(--line);
}
.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer__brand { display: flex; align-items: center; gap: 10px; }
.site-footer__brand img { width: 24px; height: 24px; border-radius: 6px; display: block; }
.site-footer__brand span,
.site-footer__note { font-size: 14px; color: var(--gray); }
.site-footer__note a { color: var(--blue); text-decoration: none; }
.site-footer__note a:hover { text-decoration: underline; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 900px) {
  .reqs__grid { grid-template-columns: 1fr; gap: 48px; }
  .browsers__grid { grid-template-columns: repeat(2, 1fr); }
  .history__cols { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: 56px; }
  .hero__sub { font-size: 20px; }
}

@media (max-width: 640px) {
  .site-nav { gap: 16px; }
  .site-nav__link { display: none; }
  .hero__inner { padding-top: 64px; }
  .hero h1 { font-size: 40px; }
  .hero__sub { font-size: 18px; }
  .badge { margin-bottom: 20px; }
  .download { padding: 72px 24px 64px; }
  .download h2 { font-size: 36px; }
  .reqs__grid { padding: 72px 24px; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .browsers { padding: 72px 24px; }
  .browsers__grid { grid-template-columns: 1fr; }
  .history__inner { padding: 72px 24px; }
  .history__head h2 { font-size: 32px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
