@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
  color-scheme: light;
  font-family: 'Roboto', 'Segoe UI', sans-serif;
  color: #101010;
  background: #00112f;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body { min-width: 320px; margin: 0; background: #00112f; }
a { color: inherit; }

.hero-header {
  position: relative;
  height: 230px;
  overflow: hidden;
  padding: 24px max(24px, calc((100vw - 1200px) / 2));
  background: #00112f;
}

.brand { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 17px; color: white; text-decoration: none; font-size: 23px; font-weight: 300; }
.windows-mark { display: grid; width: 50px; height: 42px; grid-template: 1fr 1fr / 1fr 1fr; gap: 3px; transform: perspective(60px) rotateY(-8deg); }
.windows-mark i { background: #fff; }
.header-rings, .preview-rings { position: absolute; width: 700px; height: 430px; border: 42px solid rgba(0, 95, 160, .15); border-radius: 50%; transform: rotate(-18deg); }
.header-rings { top: -300px; right: -40px; box-shadow: 0 0 0 30px rgba(0, 95, 160, .1), 0 0 0 70px rgba(0, 95, 160, .08); }
.header-rings::after { content: ''; position: absolute; width: 360px; height: 30px; top: 245px; left: -20px; border-radius: 30px; background: rgba(0, 112, 177, .2); transform: rotate(20deg); }

.intro-section { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; min-height: 555px; overflow: hidden; padding: 38px max(6.5vw, calc((100vw - 1120px) / 2)); background: #d8d7d5; }
.intro-copy { position: relative; z-index: 2; max-width: 440px; padding-bottom: 10px; }
.eyebrow { margin: 0 0 14px; color: #087ca7; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(37px, 4vw, 52px); line-height: 1.12; font-weight: 300; letter-spacing: -1.8px; }
.description { max-width: 420px; margin: 38px 0 27px; font-size: 17px; line-height: 1.45; font-weight: 300; }
.open-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 18px; padding: 0 23px; background: #087ca7; color: white; text-decoration: none; font-size: 14px; font-weight: 500; transition: background .18s ease, transform .18s ease; }
.open-button:hover { background: #056488; transform: translateY(-2px); }
.open-button:focus-visible { outline: 3px solid #f4bd36; outline-offset: 4px; }
.open-button span { font-size: 19px; }

.device-wrap { position: relative; z-index: 1; width: min(100%, 650px); justify-self: end; padding: 10px 0 54px; }
.tablet { position: relative; z-index: 2; width: 88%; margin-left: 3%; padding: 27px 27px 45px; border: 3px solid #585858; border-radius: 16px; background: linear-gradient(145deg, #393939, #1f1f1f); box-shadow: 0 12px 18px rgba(0,0,0,.25); transform: perspective(1000px) rotateY(-7deg) rotateZ(5deg); }
.camera { position: absolute; top: 10px; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: #161616; box-shadow: 10px 0 0 -1px #555; }
.tablet-screen { position: relative; height: 330px; overflow: hidden; padding: 24px 28px; background: #00163d; color: #fff; }
.screen-title { position: relative; z-index: 1; margin: 0 0 12px; font-size: 21px; font-weight: 300; font-style: italic; }
.screen-rings { position: absolute; top: -80px; right: -55px; width: 190px; height: 190px; border: 4px solid rgba(0, 122, 174, .55); border-radius: 50%; box-shadow: 0 0 0 8px #00163d, 0 0 0 12px rgba(0, 122, 174, .3), 0 0 0 20px #00163d, 0 0 0 24px rgba(0, 122, 174, .2); }
.live-tiles { position: relative; z-index: 1; display: grid; width: 90%; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 54px; gap: 4px; transform: skew(-4deg); }
.app-tile { position: relative; display: flex; align-items: center; justify-content: center; color: white; font-size: 27px; font-weight: 500; }
.app-tile small { position: absolute; bottom: 5px; left: 6px; font-size: 7px; font-weight: 400; }
.mail { background: #0094ad; }.calendar { background: #633ab5; }.browser { background: #168bd1; font-size: 36px; font-weight: 700; font-style: italic; }.store { background: #11a522; }.people { background: #e84d29; }.photos { grid-column: span 2; background: linear-gradient(145deg, #3a9ccc, #f0a43d); }.maps { background: #ae1c98; }.cloud { background: #2487c1; }.weather { grid-column: span 2; background: linear-gradient(110deg, #2ca2db, #1575bc); }.news { grid-column: span 2; align-items: flex-start; flex-direction: column; padding: 10px; background: #c40054; font-size: 11px; }
.news small { position: static; margin-top: 8px; font-size: 8px; }
.home-button { position: absolute; bottom: 9px; left: 50%; display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid #777; border-radius: 50%; transform: translateX(-50%); }
.home-button span { width: 9px; height: 9px; border: 1px solid #aaa; }
.keyboard { position: absolute; z-index: 1; left: -2%; right: 0; bottom: 0; height: 78px; border: 2px solid #4085ff; border-radius: 5px 5px 20px 20px; background: linear-gradient(110deg, #317af4, #508eff); transform: perspective(500px) rotateX(55deg) skewX(-9deg); box-shadow: 0 5px 0 #2860df; }
.keys { position: absolute; inset: 8px 20px 12px; background-image: repeating-linear-gradient(90deg, transparent 0 27px, rgba(255,255,255,.35) 28px 30px), repeating-linear-gradient(0deg, transparent 0 15px, rgba(255,255,255,.28) 16px 18px); opacity: .6; }

.preview-section { position: relative; overflow: hidden; min-height: 290px; padding: 62px 20px 54px; text-align: center; color: white; background: #00112f; }
.preview-rings { top: 175px; left: 50%; opacity: .42; transform: translateX(-50%) rotate(-18deg); }
.preview-section .eyebrow, .preview-section h2, .preview-note, .preview-section .open-button { position: relative; z-index: 1; }
.preview-section .eyebrow { color: #59cce2; }
h2 { margin: 0; font-size: clamp(34px, 5vw, 57px); line-height: 1.15; font-weight: 300; letter-spacing: -1.5px; }
.preview-note { margin: 10px 0 22px; color: rgba(255,255,255,.76); font-size: 15px; font-weight: 300; }
.open-button-light { border: 1px solid rgba(255,255,255,.55); background: transparent; }
.open-button-light:hover { background: rgba(255,255,255,.12); }
footer { padding: 0 20px 22px; color: rgba(255,255,255,.48); text-align: center; font-size: 11px; }

@media (max-width: 800px) {
  .hero-header { height: 170px; }
  .intro-section { grid-template-columns: 1fr; gap: 25px; padding: 46px max(7vw, 24px) 25px; }
  .intro-copy { max-width: 590px; }
  .description { margin: 22px 0; }
  .device-wrap { width: min(100%, 620px); justify-self: center; }
}

@media (max-width: 480px) {
  .hero-header { height: 135px; padding-top: 20px; }
  .brand { gap: 12px; font-size: 19px; }
  .windows-mark { width: 40px; height: 34px; }
  .intro-section { padding-top: 36px; }
  h1 { font-size: 39px; }
  .description { font-size: 15px; }
  .device-wrap { width: 112%; margin-left: -6%; padding-bottom: 44px; }
  .tablet { padding: 23px 18px 40px; }
  .tablet-screen { height: 250px; padding: 16px; }
  .live-tiles { grid-auto-rows: 36px; }
  .preview-section { min-height: 270px; padding-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
